Updated incorrect comment

svn-id: r50517
This commit is contained in:
Filippos Karapetis 2010-06-30 07:34:37 +00:00
parent 7c5b31eb6d
commit 1e8b74f9de

View File

@ -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;