diff options
author | Torbjörn Andersson | 2003-06-06 21:59:56 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-06-06 21:59:56 +0000 |
commit | 2d74732afbca13be231ce1da9b83561df8788b00 (patch) | |
tree | 8f8c37e38210514eb7f7330fd5b945c5e5f5fc2d | |
parent | ce0352eab224df2b2710ec40918f9b2dbd203fc6 (diff) | |
download | scummvm-rg350-2d74732afbca13be231ce1da9b83561df8788b00.tar.gz scummvm-rg350-2d74732afbca13be231ce1da9b83561df8788b00.tar.bz2 scummvm-rg350-2d74732afbca13be231ce1da9b83561df8788b00.zip |
Always reset the VAR_GAME_LOADED variable (if it's available). This seems
to fix bug #740148, at least partially.
svn-id: r8362
-rw-r--r-- | scumm/scummvm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 495aff6ba7..46794acfc9 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -1044,7 +1044,7 @@ int Scumm::scummLoop(int delta) { _saveLoadCompatible = false; } - if (!(_features & GF_SMALL_HEADER) && !(_features && GF_AFTER_V8)) + if (VAR_GAME_LOADED != 0xFF) VAR(VAR_GAME_LOADED) = 0; if (_saveLoadFlag) { load_game: |