1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 21:13:05 +01:00

Fixed autosaves preventing saving before quitting dialog from appearing

This commit is contained in:
LRFLEW
2015-08-20 20:57:09 -05:00
parent 415fac21e3
commit 5d19c44e46

View File

@@ -975,7 +975,8 @@ int scenario_save(SDL_RWops* rw, int flags)
reset_loaded_objects();
gfx_invalidate_screen();
RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_AGE, uint16) = 0;
if (!(flags & 0x80000000))
RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_AGE, uint16) = 0;
return 1;
}