aboutsummaryrefslogtreecommitdiff
path: root/engines/parallaction/animation.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2007-07-29 15:21:33 +0000
committerNicola Mettifogo2007-07-29 15:21:33 +0000
commit9a766cf5c48683fb81d92e094538eb101ea21660 (patch)
tree42f16e26d9bcde6316e83949e14e59fcc91bfa96 /engines/parallaction/animation.cpp
parent04027589ab0413c09bb7d47c95bed74916bf5ca8 (diff)
downloadscummvm-rg350-9a766cf5c48683fb81d92e094538eb101ea21660.tar.gz
scummvm-rg350-9a766cf5c48683fb81d92e094538eb101ea21660.tar.bz2
scummvm-rg350-9a766cf5c48683fb81d92e094538eb101ea21660.zip
Removed direct references to callable functions (opcodes). They are now only available via a virtual member function in the engine.
svn-id: r28291
Diffstat (limited to 'engines/parallaction/animation.cpp')
-rw-r--r--engines/parallaction/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/parallaction/animation.cpp b/engines/parallaction/animation.cpp
index d4f538c451..281e3e8da9 100644
--- a/engines/parallaction/animation.cpp
+++ b/engines/parallaction/animation.cpp
@@ -566,7 +566,7 @@ void jobRunScripts(void *parm, Job *j) {
case INST_CALL: // call
- _callables[(*inst)->_opBase._index](0);
+ _vm->callFunction((*inst)->_opBase._index, 0);
break;
case INST_WAIT: // wait