1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-07 12:54:00 +00:00

Savegame: write and read dynamic Store before Cells

This commit is contained in:
scrawl 2014-07-28 00:32:59 +02:00
parent 6262d6c964
commit 45206bc3f6

View File

@ -319,8 +319,9 @@ namespace MWWorld
MWMechanics::CreatureStats::writeActorIdCounter(writer);
progress.increaseProgress();
mStore.write (writer, progress); // dynamic Store must be written (and read) before Cells, so that
// references to custom made records will be recognized
mCells.write (writer, progress);
mStore.write (writer, progress);
mGlobalVariables.write (writer, progress);
mPlayer->write (writer, progress);
mWeatherManager->write (writer, progress);