diff options
author | Jonathan Gray | 2003-04-30 11:26:45 +0000 |
---|---|---|
committer | Jonathan Gray | 2003-04-30 11:26:45 +0000 |
commit | 77058cb0f85b865cc3bff7eed3a4616c145b53f4 (patch) | |
tree | 434720e1ba9cdb4f1145fef01b8c8b61ee76b542 /scumm/scummvm.cpp | |
parent | 1be2d3076f17a116d918b4a9468be9c53374986f (diff) | |
download | scummvm-rg350-77058cb0f85b865cc3bff7eed3a4616c145b53f4.tar.gz scummvm-rg350-77058cb0f85b865cc3bff7eed3a4616c145b53f4.tar.bz2 scummvm-rg350-77058cb0f85b865cc3bff7eed3a4616c145b53f4.zip |
don't clobber variable for these small header games
svn-id: r7217
Diffstat (limited to 'scumm/scummvm.cpp')
-rw-r--r-- | scumm/scummvm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 3287a87b06..33fb47eab0 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -576,7 +576,8 @@ int Scumm::scummLoop(int delta) { _saveLoadCompatible = false; } - _vars[VAR_GAME_LOADED] = 0; + if (!(_features & GF_SMALL_HEADER) && !(_features && GF_AFTER_V8)) + _vars[VAR_GAME_LOADED] = 0; if (_saveLoadFlag) { load_game: bool success; |