From 50c2fbbb487fac48cfa9e38ae698cb0be6e77cc6 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 22 Jul 2010 18:13:05 +0000 Subject: SCI: Also allow checkListPointer() to check the result of lookupNode() itself svn-id: r51156 --- engines/sci/engine/klists.cpp | 4 ++-- 1 file 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)); -- cgit v1.2.3