forked from rosebudai/OpenRCT2-Web
use object_manager_get_loaded_object instead
This commit is contained in:
1 parent
c672cb920b
commit
488da7942c
3 files changed
+5
-10
No files matched your search
@@ -711,14 +711,6 @@ extern "C"
|
||||
return (void *)object;
|
||||
}
|
||||
|
||||
void * object_repository_get_loaded_object(uint8 objectType, uint8 entryIndex)
|
||||
{
|
||||
int index = GetObjectEntryIndex(objectType, entryIndex);
|
||||
|
||||
IObjectManager * objectManager = GetObjectManager();
|
||||
return (void *)objectManager->GetLoadedObject(index);
|
||||
}
|
||||
|
||||
void object_repository_unload(size_t itemIndex)
|
||||
{
|
||||
// TODO
|
||||
|
||||
Reference in new issue
Block a user