From 1e8b74f9de0e3a6cf265376a1c4d2c9859f68c61 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 30 Jun 2010 07:34:37 +0000 Subject: [PATCH] Updated incorrect comment svn-id: r50517 --- engines/sci/engine/klists.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/engines/sci/engine/klists.cpp b/engines/sci/engine/klists.cpp index 6e017689587..25df4bb5638 100644 --- a/engines/sci/engine/klists.cpp +++ b/engines/sci/engine/klists.cpp @@ -346,8 +346,9 @@ reg_t kDeleteKey(EngineState *s, int argc, reg_t *argv) { if (!n->succ.isNull()) s->_segMan->lookupNode(n->succ)->pred = n->pred; - // Erase the node itself, as the game might reference it - // again before the GC is invoked + // Erase the node itself, as the game might reference it again. + // Happens in the intro of QFG1 and in Longbow, when exiting the + // cave. n->pred = NULL_REG; n->succ = NULL_REG; n->value = NULL_REG;