diff options
author | Filippos Karapetis | 2010-06-10 11:35:15 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-06-10 11:35:15 +0000 |
commit | 944b511633e793f149e787b3f9cd1502b14d9993 (patch) | |
tree | 8f5eb4fc8838216094d9a7aee54375435a3a8955 | |
parent | 93f33c7dab009e8ff82fac195e7b6d02e66ab755 (diff) | |
download | scummvm-rg350-944b511633e793f149e787b3f9cd1502b14d9993.tar.gz scummvm-rg350-944b511633e793f149e787b3f9cd1502b14d9993.tar.bz2 scummvm-rg350-944b511633e793f149e787b3f9cd1502b14d9993.zip |
Fixed regression from commit #49564
svn-id: r49569
-rw-r--r-- | engines/sci/engine/kmovement.cpp | 2 | ||||
-rw-r--r-- | engines/sci/engine/kparse.cpp | 4 |
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 */ } |