diff options
author | Filippos Karapetis | 2010-07-22 18:13:05 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-07-22 18:13:05 +0000 |
commit | 50c2fbbb487fac48cfa9e38ae698cb0be6e77cc6 (patch) | |
tree | 7124fe89b201e13a4b932255ba3a0b4fc358ca49 | |
parent | 91e909a25cf056dba37eb6a68bd9ba957cd18175 (diff) | |
download | scummvm-rg350-50c2fbbb487fac48cfa9e38ae698cb0be6e77cc6.tar.gz scummvm-rg350-50c2fbbb487fac48cfa9e38ae698cb0be6e77cc6.tar.bz2 scummvm-rg350-50c2fbbb487fac48cfa9e38ae698cb0be6e77cc6.zip |
SCI: Also allow checkListPointer() to check the result of lookupNode() itself
svn-id: r51156
-rw-r--r-- | engines/sci/engine/klists.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sci/engine/klists.cpp b/engines/sci/engine/klists.cpp index cfd68e1264..93e95099f5 100644 --- a/engines/sci/engine/klists.cpp +++ b/engines/sci/engine/klists.cpp @@ -75,8 +75,8 @@ static void checkListPointer(SegManager *segMan, reg_t addr) { // Empty list is fine } else if (!list->first.isNull() && !list->last.isNull()) { // Normal list - Node *node_a = segMan->lookupNode(list->first); - Node *node_z = segMan->lookupNode(list->last); + Node *node_a = segMan->lookupNode(list->first, false); + Node *node_z = segMan->lookupNode(list->last, false); if (!node_a) { error("checkListPointer (list %04x:%04x): missing first node", PRINT_REG(addr)); |