|
|
@ -366,6 +366,19 @@ namespace MWWorld
|
|
|
|
inserted.first->second = scpt;
|
|
|
|
inserted.first->second = scpt;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
template <>
|
|
|
|
|
|
|
|
inline void Store<ESM::StartScript>::load(ESM::ESMReader &esm, const std::string &id)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
ESM::StartScript s;
|
|
|
|
|
|
|
|
s.load(esm);
|
|
|
|
|
|
|
|
s.mId = Misc::StringUtils::toLower(s.mId);
|
|
|
|
|
|
|
|
std::pair<typename Static::iterator, bool> inserted = mStatic.insert(std::make_pair(s.mId, s));
|
|
|
|
|
|
|
|
if (inserted.second)
|
|
|
|
|
|
|
|
mShared.push_back(&inserted.first->second);
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
inserted.first->second = s;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
template <>
|
|
|
|
template <>
|
|
|
|
class Store<ESM::LandTexture> : public StoreBase
|
|
|
|
class Store<ESM::LandTexture> : public StoreBase
|
|
|
|
{
|
|
|
|
{
|
|
|
|