Use more dependency injection

This commit is contained in:
Ted John authored and Michał Janiszewski committed 2017-06-24 09:56:51 +02:00
1 parent 3003393c87
commit b9e9ddfc1c
7 files changed
+22 -24

No files matched your search

-11
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;