1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 23:04:36 +01:00

remove all unnecessary object resets

This commit is contained in:
Ted John
2016-07-07 23:32:45 +01:00
parent 4664b73488
commit 78c6b6a251
10 changed files with 23 additions and 33 deletions

View File

@@ -507,7 +507,6 @@ extern "C"
}
delete s6exporter;
reset_loaded_objects();
gfx_invalidate_screen();
if (result && !(flags & S6_SAVE_FLAG_AUTOMATIC))
@@ -540,8 +539,6 @@ extern "C"
return 0;
}
reset_loaded_objects();
// Write other data not in normal save files
SDL_WriteLE32(rw, gGamePaused);
SDL_WriteLE32(rw, _guestGenerationProbability);