mirror of
https://github.com/OpenMW/openmw.git
synced 2025-11-08 20:16:43 +00:00
Savegame: write and read dynamic Store before Cells
This commit is contained in:
parent
6262d6c964
commit
45206bc3f6
1 changed files with 2 additions and 1 deletions
|
|
@ -319,8 +319,9 @@ namespace MWWorld
|
||||||
MWMechanics::CreatureStats::writeActorIdCounter(writer);
|
MWMechanics::CreatureStats::writeActorIdCounter(writer);
|
||||||
progress.increaseProgress();
|
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);
|
mCells.write (writer, progress);
|
||||||
mStore.write (writer, progress);
|
|
||||||
mGlobalVariables.write (writer, progress);
|
mGlobalVariables.write (writer, progress);
|
||||||
mPlayer->write (writer, progress);
|
mPlayer->write (writer, progress);
|
||||||
mWeatherManager->write (writer, progress);
|
mWeatherManager->write (writer, progress);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue