diff options
author | Max Horn | 2009-09-17 13:21:42 +0000 |
---|---|---|
committer | Max Horn | 2009-09-17 13:21:42 +0000 |
commit | 364640cfd58a99a7b61f914a836c156d55a25c3c (patch) | |
tree | 3d49179cb5e6731cd52b2b279c781a718012e788 /engines/sci/engine/kmovement.cpp | |
parent | b2c386ed000bce9a34a3d392b57a5d9abe8dfa7e (diff) | |
download | scummvm-rg350-364640cfd58a99a7b61f914a836c156d55a25c3c.tar.gz scummvm-rg350-364640cfd58a99a7b61f914a836c156d55a25c3c.tar.bz2 scummvm-rg350-364640cfd58a99a7b61f914a836c156d55a25c3c.zip |
SCI: Rename selector_map_t -> SelectorCache and _selectorMap -> _selectorCache
svn-id: r44152
Diffstat (limited to 'engines/sci/engine/kmovement.cpp')
-rw-r--r-- | engines/sci/engine/kmovement.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/kmovement.cpp b/engines/sci/engine/kmovement.cpp index cb1f841ece..54f0f4680b 100644 --- a/engines/sci/engine/kmovement.cpp +++ b/engines/sci/engine/kmovement.cpp @@ -269,7 +269,7 @@ static void bresenham_autodetect(EngineState *s) { return; } - if (lookup_selector(s->segMan, motion_class, ((SciEngine*)g_engine)->getKernel()->_selectorMap.doit, NULL, &fptr) != kSelectorMethod) { + if (lookup_selector(s->segMan, motion_class, ((SciEngine*)g_engine)->getKernel()->_selectorCache.doit, NULL, &fptr) != kSelectorMethod) { warning("bresenham_autodetect failed"); handle_movecnt = INCREMENT_MOVECNT; // Most games do this, so best guess return; @@ -365,7 +365,7 @@ reg_t kDoBresen(EngineState *s, int, int argc, reg_t *argv) { debugC(2, kDebugLevelBresen, "New data: (x,y)=(%d,%d), di=%d\n", x, y, bdi); - if (((SciEngine*)g_engine)->getKernel()->_selectorMap.cantBeHere != -1) + if (((SciEngine*)g_engine)->getKernel()->_selectorCache.cantBeHere != -1) invoke_selector(INV_SEL(client, cantBeHere, kStopOnInvalidSelector), 0); else invoke_selector(INV_SEL(client, canBeHere, kStopOnInvalidSelector), 0); |