forked from rosebudai/OpenRCT2-Web
Use more dependency injection
This commit is contained in:
1 parent
3003393c87
commit
b9e9ddfc1c
7 files changed
+22
-24
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user