mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 18:35:20 +00:00
forgotten module
This commit is contained in:
parent
58b7927a36
commit
bc218759e9
18
apps/openmw/mwworld/store.cpp
Normal file
18
apps/openmw/mwworld/store.cpp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#include "store.hpp"
|
||||||
|
|
||||||
|
namespace MWWorld
|
||||||
|
{
|
||||||
|
template <>
|
||||||
|
void Store<ESM::Dialogue>::load(ESM::ESMReader &esm, const std::string &id) {
|
||||||
|
mStatic.push_back(ESM::Dialogue());
|
||||||
|
mStatic.back().mId = id;
|
||||||
|
mStatic.back().load(esm);
|
||||||
|
}
|
||||||
|
|
||||||
|
template <>
|
||||||
|
void Store<ESM::Script>::load(ESM::ESMReader &esm, const std::string &id) {
|
||||||
|
mStatic.push_back(ESM::Script());
|
||||||
|
mStatic.back().load(esm);
|
||||||
|
StringUtils::toLower(mStatic.back().mId);
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user