aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-06-06 21:59:56 +0000
committerTorbjörn Andersson2003-06-06 21:59:56 +0000
commit2d74732afbca13be231ce1da9b83561df8788b00 (patch)
tree8f8c37e38210514eb7f7330fd5b945c5e5f5fc2d
parentce0352eab224df2b2710ec40918f9b2dbd203fc6 (diff)
downloadscummvm-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.cpp2
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: