aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v2.cpp
diff options
context:
space:
mode:
authorSven Hesse2009-06-19 09:43:01 +0000
committerSven Hesse2009-06-19 09:43:01 +0000
commit0ae767ae8c4502d308fcba6a892c959c7eccab59 (patch)
treebe249eac4e99802519563804f9458faaea52ddeb /engines/gob/inter_v2.cpp
parent476eaf39b5d522c4f69582841db75c7b99c8d165 (diff)
downloadscummvm-rg350-0ae767ae8c4502d308fcba6a892c959c7eccab59.tar.gz
scummvm-rg350-0ae767ae8c4502d308fcba6a892c959c7eccab59.tar.bz2
scummvm-rg350-0ae767ae8c4502d308fcba6a892c959c7eccab59.zip
Fixing The Last Dynasty again after the opcode dispatcher changes
svn-id: r41664
Diffstat (limited to 'engines/gob/inter_v2.cpp')
-rw-r--r--engines/gob/inter_v2.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp
index 078d644dd6..e7f3bd198d 100644
--- a/engines/gob/inter_v2.cpp
+++ b/engines/gob/inter_v2.cpp
@@ -1259,7 +1259,9 @@ bool Inter_v2::o2_goblinFunc(OpFuncParams &params) {
int16 cmd;
cmd = load16();
- _vm->_global->_inter_execPtr += 2;
+
+ gobParams.paramCount = load16();
+ gobParams.extraData = cmd;
if (cmd != 101)
executeOpcodeGob(cmd, gobParams);