mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 07:14:31 +01:00
protect objects against invalid allocation ids
This commit is contained in:
@@ -507,7 +507,7 @@ extern "C"
|
||||
}
|
||||
delete s6exporter;
|
||||
|
||||
// reset_loaded_objects();
|
||||
reset_loaded_objects();
|
||||
gfx_invalidate_screen();
|
||||
|
||||
if (result && !(flags & S6_SAVE_FLAG_AUTOMATIC))
|
||||
|
||||
Reference in New Issue
Block a user