diff --git a/apps/openmw/mwworld/store.cpp b/apps/openmw/mwworld/store.cpp index b647a6c88..7a471eaa4 100644 --- a/apps/openmw/mwworld/store.cpp +++ b/apps/openmw/mwworld/store.cpp @@ -1029,7 +1029,8 @@ namespace MWWorld // Script //========================================================================= - inline void Store::load(ESM::ESMReader &esm, const std::string &id) { + template <> + void Store::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::load(ESM::ESMReader &esm, const std::string &id) + template <> + void Store::load(ESM::ESMReader &esm, const std::string &id) { ESM::StartScript s; s.load(esm);