mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-18 17:07:37 -04: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
@ -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…
x
Reference in New Issue
Block a user