aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-10 11:35:15 +0000
committerFilippos Karapetis2010-06-10 11:35:15 +0000
commit944b511633e793f149e787b3f9cd1502b14d9993 (patch)
tree8f5eb4fc8838216094d9a7aee54375435a3a8955 /engines/sci
parent93f33c7dab009e8ff82fac195e7b6d02e66ab755 (diff)
downloadscummvm-rg350-944b511633e793f149e787b3f9cd1502b14d9993.tar.gz
scummvm-rg350-944b511633e793f149e787b3f9cd1502b14d9993.tar.bz2
scummvm-rg350-944b511633e793f149e787b3f9cd1502b14d9993.zip
Fixed regression from commit #49564
svn-id: r49569
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/kmovement.cpp2
-rw-r--r--engines/sci/engine/kparse.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kmovement.cpp b/engines/sci/engine/kmovement.cpp
index e45e55373b..c30a6e885a 100644
--- a/engines/sci/engine/kmovement.cpp
+++ b/engines/sci/engine/kmovement.cpp
@@ -464,7 +464,7 @@ reg_t kDoAvoider(EngineState *s, int argc, reg_t *argv) {
reg_t params[2] = { make_reg(0, angle), client };
if (looper.segment) {
- invokeSelector(s, looper, SELECTOR(doit), 2, params);
+ invokeSelector(s, looper, SELECTOR(doit), argc, argv, 2, params);
return s->r_acc;
} else {
// No looper? Fall back to DirLoop
diff --git a/engines/sci/engine/kparse.cpp b/engines/sci/engine/kparse.cpp
index bb9a49c7e8..45493a95d2 100644
--- a/engines/sci/engine/kparse.cpp
+++ b/engines/sci/engine/kparse.cpp
@@ -118,7 +118,7 @@ reg_t kParse(EngineState *s, int argc, reg_t *argv) {
s->r_acc = make_reg(0, 1);
writeSelectorValue(segMan, event, SELECTOR(claimed), 1);
- invokeSelector(s, g_sci->getGameObject(), SELECTOR(syntaxFail), 2, params);
+ invokeSelector(s, g_sci->getGameObject(), SELECTOR(syntaxFail), argc, argv, 2, params);
/* Issue warning */
debugC(2, kDebugLevelParser, "Tree building failed");
@@ -141,7 +141,7 @@ reg_t kParse(EngineState *s, int argc, reg_t *argv) {
debugC(2, kDebugLevelParser, "Word unknown: %s", error);
/* Issue warning: */
- invokeSelector(s, g_sci->getGameObject(), SELECTOR(wordFail), 2, params);
+ invokeSelector(s, g_sci->getGameObject(), SELECTOR(wordFail), argc, argv, 2, params);
free(error);
return make_reg(0, 1); /* Tell them that it didn't work */
}