fix #3323: save (not save as) crashed afterwards due to saving objects

This commit is contained in:
Ted John 2016-05-07 18:24:50 +01:00
parent 2ecbcfc4c9
commit a0dac1fee5
1 changed files with 1 additions and 1 deletions

View File

@ -1022,7 +1022,7 @@ int scenario_save(SDL_RWops* rw, int flags)
free(s6);
if (!(flags & 0x80000000))
if (flags & 1)
reset_loaded_objects();
gfx_invalidate_screen();