mirror of
https://github.com/OpenMW/openmw.git
synced 2025-05-12 18:41:27 +00:00
Merge branch 'fix_7135' into 'master'
Add missing initializer in mwworld/worldmodel.cpp (fixes #7135) Closes #7135 See merge request OpenMW/openmw!2596
This commit is contained in:
commit
b1571b92bf
1 changed files with 2 additions and 0 deletions
|
@ -153,7 +153,9 @@ MWWorld::WorldModel::WorldModel(const MWWorld::ESMStore& store, ESM::ReadersCach
|
||||||
: mStore(store)
|
: mStore(store)
|
||||||
, mReaders(readers)
|
, mReaders(readers)
|
||||||
, mIdCacheIndex(0)
|
, mIdCacheIndex(0)
|
||||||
|
, mPtrIndexUpdateCounter(0)
|
||||||
{
|
{
|
||||||
|
mLastGeneratedRefnum.unset();
|
||||||
int cacheSize = std::clamp(Settings::Manager::getInt("pointers cache size", "Cells"), 40, 1000);
|
int cacheSize = std::clamp(Settings::Manager::getInt("pointers cache size", "Cells"), 40, 1000);
|
||||||
mIdCache = IdCache(cacheSize, std::pair<ESM::RefId, CellStore*>(ESM::RefId::sEmpty, (CellStore*)nullptr));
|
mIdCache = IdCache(cacheSize, std::pair<ESM::RefId, CellStore*>(ESM::RefId::sEmpty, (CellStore*)nullptr));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue