diff options
author | Max Horn | 2010-03-08 21:54:07 +0000 |
---|---|---|
committer | Max Horn | 2010-03-08 21:54:07 +0000 |
commit | 38bf3d0d3c468cf5a51bf5d5e7393ffcad68eea1 (patch) | |
tree | 9485c6908c7f9f89ad68c3ac5c67a9ab707726ac /engines/sci/engine/kparse.cpp | |
parent | 688288ec7dd558170bbcf7298dde501faafe0a47 (diff) | |
download | scummvm-rg350-38bf3d0d3c468cf5a51bf5d5e7393ffcad68eea1.tar.gz scummvm-rg350-38bf3d0d3c468cf5a51bf5d5e7393ffcad68eea1.tar.bz2 scummvm-rg350-38bf3d0d3c468cf5a51bf5d5e7393ffcad68eea1.zip |
SCI: Make EngineState parameter to INV_SEL explicit
svn-id: r48202
Diffstat (limited to 'engines/sci/engine/kparse.cpp')
-rw-r--r-- | engines/sci/engine/kparse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kparse.cpp b/engines/sci/engine/kparse.cpp index 6901274575..0254d21642 100644 --- a/engines/sci/engine/kparse.cpp +++ b/engines/sci/engine/kparse.cpp @@ -117,7 +117,7 @@ reg_t kParse(EngineState *s, int argc, reg_t *argv) { s->r_acc = make_reg(0, 1); PUT_SEL32V(segMan, event, SELECTOR(claimed), 1); - invoke_selector(INV_SEL(s->_gameObj, syntaxFail, kStopOnInvalidSelector), 2, s->_voc->parser_base, stringpos); + invoke_selector(INV_SEL(s, s->_gameObj, syntaxFail, kStopOnInvalidSelector), 2, s->_voc->parser_base, stringpos); /* Issue warning */ debugC(2, kDebugLevelParser, "Tree building failed"); @@ -140,7 +140,7 @@ reg_t kParse(EngineState *s, int argc, reg_t *argv) { debugC(2, kDebugLevelParser, "Word unknown: %s", error); /* Issue warning: */ - invoke_selector(INV_SEL(s->_gameObj, wordFail, kStopOnInvalidSelector), 2, s->_voc->parser_base, stringpos); + invoke_selector(INV_SEL(s, s->_gameObj, wordFail, kStopOnInvalidSelector), 2, s->_voc->parser_base, stringpos); free(error); return make_reg(0, 1); /* Tell them that it didn't work */ } |