diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 1fe3b15dc..631cf12e9 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -4,6 +4,7 @@ D1X-Rebirth Changelog -------- 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 -------- diff --git a/main/state.c b/main/state.c index a09797de3..9bd26e2da 100644 --- a/main/state.c +++ b/main/state.c @@ -1224,7 +1224,7 @@ int state_restore_all_sub(char *filename) Difficulty_level = PHYSFSX_readSXE32(fp, swap); // Restore the cheats enabled flag - + game_disable_cheats(); // disable cheats first cheats.enabled = PHYSFSX_readSXE32(fp, swap); cheats.turbo = PHYSFSX_readSXE32(fp, swap);