aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/kstring.cpp
diff options
context:
space:
mode:
authorMax Horn2009-10-07 23:34:24 +0000
committerMax Horn2009-10-07 23:34:24 +0000
commit0988e273eca17749037e501c20715b99b2dfb89a (patch)
treec48e7187c380d78f23de3aa65c5afd4bfe8891e5 /engines/sci/engine/kstring.cpp
parenta4fa78743d23deed3414f1915694184bac3f2798 (diff)
downloadscummvm-rg350-0988e273eca17749037e501c20715b99b2dfb89a.tar.gz
scummvm-rg350-0988e273eca17749037e501c20715b99b2dfb89a.tar.bz2
scummvm-rg350-0988e273eca17749037e501c20715b99b2dfb89a.zip
SCI: Turn lookup_node & lookup_list into SegManager::lookupNode & SegManager::lookupList
svn-id: r44769
Diffstat (limited to 'engines/sci/engine/kstring.cpp')
-rw-r--r--engines/sci/engine/kstring.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/engine/kstring.cpp b/engines/sci/engine/kstring.cpp
index 0d80618bfd..1e26450066 100644
--- a/engines/sci/engine/kstring.cpp
+++ b/engines/sci/engine/kstring.cpp
@@ -137,8 +137,8 @@ reg_t kSetSynonyms(EngineState *s, int argc, reg_t *argv) {
s->_voc->clearSynonyms();
- list = lookup_list(s, GET_SEL32(object, elements));
- node = lookup_node(s, list->first);
+ list = s->_segMan->lookupList(GET_SEL32(object, elements));
+ node = s->_segMan->lookupNode(list->first);
while (node) {
reg_t objpos = node->value;
@@ -174,7 +174,7 @@ reg_t kSetSynonyms(EngineState *s, int argc, reg_t *argv) {
}
- node = lookup_node(s, node->succ);
+ node = s->_segMan->lookupNode(node->succ);
}
debugC(2, kDebugLevelParser, "A total of %d synonyms are active now.\n", numSynonyms);