forked from rosebudai/OpenRCT2-Web
protect objects against invalid allocation ids
This commit is contained in:
1 parent
80381cfaa0
commit
52928e1e08
26 files changed
+78
-54
No files matched your search
@@ -645,6 +645,7 @@ extern "C"
|
||||
Object * object = _loadedObjects[i];
|
||||
if (object != nullptr)
|
||||
{
|
||||
object->Unload();
|
||||
object->Load();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user