properly disable cheats when loading a saved game so only cheats that were stored are re-enabled
This commit is contained in:
parent
4852ceb347
commit
a5369e13d5
|
@ -5,6 +5,7 @@ D2X-Rebirth Changelog
|
|||
main/movie.c: Call all necessary MVE functions when initializing robot movies to prevent crashes if a robot movie is the first one the program plays
|
||||
main/slew.c: Fix compile-time error when building without editor
|
||||
arch/sdl/jukebox.c, main/songs.c: Allow .flac to be a filename extension for sng file and jukebox
|
||||
main/state.c: properly disable cheats when loading a saved game so only cheats that were stored are re-enabled
|
||||
|
||||
20120324
|
||||
--------
|
||||
|
|
|
@ -1380,7 +1380,7 @@ int state_restore_all_sub(char *filename, int secret_restore)
|
|||
Difficulty_level = PHYSFSX_readSXE32(fp, swap);
|
||||
|
||||
// Restore the cheats enabled flag
|
||||
|
||||
game_disable_cheats(); // disable cheats first
|
||||
cheats.enabled = PHYSFSX_readSXE32(fp, swap);
|
||||
|
||||
Do_appearance_effect = 0; // Don't do this for middle o' game stuff.
|
||||
|
|
Loading…
Reference in a new issue