aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/scumm_v0.h
diff options
context:
space:
mode:
authorTobias Gunkel2012-01-29 17:11:54 +0100
committerTobias Gunkel2012-02-11 08:29:52 +0100
commit984c2a05e4e4ec643c1135c6b087f6e7faf1997f (patch)
tree64a11454410530323743d86cae3ae7e5ba1bba54 /engines/scumm/scumm_v0.h
parentd4ddd2ca840fc91cd75cdb4545db30f2f0a78722 (diff)
downloadscummvm-rg350-984c2a05e4e4ec643c1135c6b087f6e7faf1997f.tar.gz
scummvm-rg350-984c2a05e4e4ec643c1135c6b087f6e7faf1997f.tar.bz2
scummvm-rg350-984c2a05e4e4ec643c1135c6b087f6e7faf1997f.zip
SCUMM: replace o_beginOverride() with o2_beginOverride()
In contrast to the comment in o_beginOverride() VAR(VAR_OVERRIDE) is not set in the disassembly. In addition the cutscene stack-pointer is always 0 as this feature is not used in v0. This makes o_beginOverride() work the same way o2_beginOverride() and so it is not needed anymore. Note that fetchScriptWord() was changed to ScummEngine::fetchScriptWord() in o2_beginOverride() as ScummEngine_v0::fetchScriptWord() only fetches a byte. As we need two bytes here we have to use ScummEngine::fetchScriptWord().
Diffstat (limited to 'engines/scumm/scumm_v0.h')
-rw-r--r--engines/scumm/scumm_v0.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/engines/scumm/scumm_v0.h b/engines/scumm/scumm_v0.h
index 8b13569042..a5af34b1ff 100644
--- a/engines/scumm/scumm_v0.h
+++ b/engines/scumm/scumm_v0.h
@@ -153,7 +153,6 @@ protected:
void o_unlockSound();
void o_cutscene();
void o_endCutscene();
- void o_beginOverride();
void o_setOwnerOf();
byte VAR_ACTIVE_OBJECT2;