1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-02-01 03:05:24 +01:00

remove object_unload_all

This commit is contained in:
Ted John
2016-07-07 22:58:48 +01:00
parent 60098aeef0
commit 3f19becc2b
4 changed files with 9 additions and 7 deletions

View File

@@ -37,6 +37,7 @@ extern "C"
#include "../management/finance.h"
#include "../management/marketing.h"
#include "../object.h"
#include "../object/ObjectManager.h"
#include "../peep/staff.h"
#include "../rct1.h"
#include "../util/sawyercoding.h"
@@ -111,7 +112,7 @@ void S4Importer::Initialise()
// Do map initialisation, same kind of stuff done when loading scenario editor
audio_pause_sounds();
audio_unpause_sounds();
object_unload_all();
GetObjectManager()->UnloadAll();
map_init(mapSize);
banner_init();
reset_park_entrances();