mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-21 09:23:53 +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
|
||||
//=========================================================================
|
||||
|
||||
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;
|
||||
scpt.load(esm);
|
||||
Misc::StringUtils::toLower(scpt.mId);
|
||||
|
@ -1045,7 +1046,8 @@ namespace MWWorld
|
|||
// 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;
|
||||
s.load(esm);
|
||||
|
|
Loading…
Reference in a new issue