mirror of https://github.com/OpenRCT2/OpenRCT2.git
fix #3323: save (not save as) crashed afterwards due to saving objects
This commit is contained in:
parent
2ecbcfc4c9
commit
a0dac1fee5
|
@ -1022,7 +1022,7 @@ int scenario_save(SDL_RWops* rw, int flags)
|
||||||
|
|
||||||
free(s6);
|
free(s6);
|
||||||
|
|
||||||
if (!(flags & 0x80000000))
|
if (flags & 1)
|
||||||
reset_loaded_objects();
|
reset_loaded_objects();
|
||||||
|
|
||||||
gfx_invalidate_screen();
|
gfx_invalidate_screen();
|
||||||
|
|
Loading…
Reference in New Issue