aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/scriptopcodes_duckman.cpp
diff options
context:
space:
mode:
authorjohndoe1232014-12-03 21:18:34 +0100
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commit70f83137b142d3158efb5dbcf82e7ab36174693a (patch)
treea6dc327b109f86dbcd836059b47c700c108e18bc /engines/illusions/scriptopcodes_duckman.cpp
parente4a85c7da6486f0221ef34dc0d2e82100533a213 (diff)
downloadscummvm-rg350-70f83137b142d3158efb5dbcf82e7ab36174693a.tar.gz
scummvm-rg350-70f83137b142d3158efb5dbcf82e7ab36174693a.tar.bz2
scummvm-rg350-70f83137b142d3158efb5dbcf82e7ab36174693a.zip
ILLUSIONS: Move Duckman special code to own class and file
Diffstat (limited to 'engines/illusions/scriptopcodes_duckman.cpp')
-rw-r--r--engines/illusions/scriptopcodes_duckman.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/illusions/scriptopcodes_duckman.cpp b/engines/illusions/scriptopcodes_duckman.cpp
index 3c7909eec8..b7ec463357 100644
--- a/engines/illusions/scriptopcodes_duckman.cpp
+++ b/engines/illusions/scriptopcodes_duckman.cpp
@@ -553,7 +553,9 @@ void ScriptOpcodes_Duckman::opPlayVideo(ScriptThread *scriptThread, OpCall &opCa
void ScriptOpcodes_Duckman::opRunSpecialCode(ScriptThread *scriptThread, OpCall &opCall) {
ARG_SKIP(2);
ARG_UINT32(specialCodeId);
- _vm->runSpecialCode(specialCodeId, opCall);
+debug("run(%08X)", specialCodeId);
+ _vm->_specialCode->run(specialCodeId, opCall);
+debug("run(%08X) OK", specialCodeId);
}
void ScriptOpcodes_Duckman::opStartSound(ScriptThread *scriptThread, OpCall &opCall) {