mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 21:53:51 +00:00
Fix instantiation on non-Visual Studio
This commit is contained in:
parent
7d4125d97f
commit
caa119f13c
1 changed files with 4 additions and 2 deletions
|
@ -1029,7 +1029,8 @@ namespace MWWorld
|
||||||
// Script
|
// Script
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
|
||||||
inline void Store<ESM::Script>::load(ESM::ESMReader &esm, const std::string &id) {
|
template <>
|
||||||
|
void Store<ESM::Script>::load(ESM::ESMReader &esm, const std::string &id) {
|
||||||
ESM::Script scpt;
|
ESM::Script scpt;
|
||||||
scpt.load(esm);
|
scpt.load(esm);
|
||||||
Misc::StringUtils::toLower(scpt.mId);
|
Misc::StringUtils::toLower(scpt.mId);
|
||||||
|
@ -1045,7 +1046,8 @@ namespace MWWorld
|
||||||
// StartScript
|
// StartScript
|
||||||
//=========================================================================
|
//=========================================================================
|
||||||
|
|
||||||
inline void Store<ESM::StartScript>::load(ESM::ESMReader &esm, const std::string &id)
|
template <>
|
||||||
|
void Store<ESM::StartScript>::load(ESM::ESMReader &esm, const std::string &id)
|
||||||
{
|
{
|
||||||
ESM::StartScript s;
|
ESM::StartScript s;
|
||||||
s.load(esm);
|
s.load(esm);
|
||||||
|
|
Loading…
Reference in a new issue