Correct VAR_OVERRIDE settings in override opcodes

svn-id: r21307
This commit is contained in:
Travis Howell 2006-03-15 06:29:28 +00:00
parent cc8796248d
commit 34b89a3258

View File

@ -1365,8 +1365,8 @@ void ScummEngine::beginOverride() {
fetchScriptByte();
fetchScriptWord();
// This is based on disassembly
VAR(VAR_OVERRIDE) = 0;
if (_game.version >= 5)
VAR(VAR_OVERRIDE) = 0;
}
void ScummEngine::endOverride() {
@ -1376,7 +1376,7 @@ void ScummEngine::endOverride() {
vm.cutScenePtr[idx] = 0;
vm.cutSceneScript[idx] = 0;
if (_game.version > 3)
if (_game.version >= 4)
VAR(VAR_OVERRIDE) = 0;
}