Correct VAR_OVERRIDE settings in override opcodes
svn-id: r21307
This commit is contained in:
parent
cc8796248d
commit
34b89a3258
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue