1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +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

@@ -634,24 +634,6 @@ extern "C"
return true;
}
void reset_loaded_objects()
{
// if (_loadedObjects != nullptr)
// {
// for (int i = 0; i < OBJECT_ENTRY_COUNT; i++)
// {
// Object * object = _loadedObjects[i];
// if (object != nullptr)
// {
// object->Unload();
// object->Load();
// }
// }
// }
//
// reset_type_to_ride_entry_index_map();
}
void * object_repository_load_object(const rct_object_entry * objectEntry)
{
Object * object = nullptr;