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:
committed by
Michał Janiszewski
parent
3003393c87
commit
b9e9ddfc1c
@@ -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