1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-16 19:43:06 +01:00

Use more dependency injection

This commit is contained in:
Ted John
2017-06-22 18:57:25 +01:00
committed by Michał Janiszewski
parent 3003393c87
commit b9e9ddfc1c
7 changed files with 22 additions and 24 deletions

View File

@@ -754,17 +754,6 @@ extern "C"
objectManager->UnloadAll();
}
bool object_load_entries(rct_object_entry * entries)
{
log_verbose("loading required objects");
IObjectManager * objectManger = GetObjectManager();
bool result = objectManger->LoadObjects(entries, OBJECT_ENTRY_COUNT);
log_verbose("finished loading required objects");
return result;
}
void * object_repository_load_object(const rct_object_entry * objectEntry)
{
Object * object = nullptr;