mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 02:44:56 +00:00
Correct VAR_OVERRIDE settings in override opcodes
svn-id: r21307
This commit is contained in:
parent
cc8796248d
commit
34b89a3258
@ -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…
x
Reference in New Issue
Block a user