Write the player object first to increase the chance of preloading the player cells in time

coverity_scan^2
scrawl 7 years ago
parent 1d8a9ff622
commit 0be86f69bc

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

Loading…
Cancel
Save