From d96c960a7fd275935fddc6ca6fc5aad9a114ce77 Mon Sep 17 00:00:00 2001 From: Graham Nelson Date: Thu, 7 Apr 2022 21:51:09 +0100 Subject: [PATCH] Fix for Mantis bug 2046 --- .../Internal/Inter/BasicInformKit/Sections/Glulx.i6t | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/inform7/Internal/Inter/BasicInformKit/Sections/Glulx.i6t b/inform7/Internal/Inter/BasicInformKit/Sections/Glulx.i6t index b0314d9b8e..a9bbd16a6b 100644 --- a/inform7/Internal/Inter/BasicInformKit/Sections/Glulx.i6t +++ b/inform7/Internal/Inter/BasicInformKit/Sections/Glulx.i6t @@ -1053,16 +1053,13 @@ light to the Dark Room.") statuswin_cursize = 0; gg_foregroundchan = 0; gg_backgroundchan = 0; - #Ifdef DEBUG; gg_commandstr = 0; gg_command_reading = false; - #Endif; ! DEBUG ! Also tell the game to clear its object references. IdentifyGlkObject(0); id = glk_stream_iterate(0, gg_arguments); while (id) { - #ifdef DEBUG; switch (gg_arguments-->0) { GG_SAVESTR_ROCK: gg_savestr = id; GG_SCRIPTSTR_ROCK: gg_scriptstr = id; @@ -1072,13 +1069,6 @@ light to the Dark Room.") gg_command_reading = true; default: IdentifyGlkObject(1, 1, id, gg_arguments-->0); } - #ifnot; - switch (gg_arguments-->0) { - GG_SAVESTR_ROCK: gg_savestr = id; - GG_SCRIPTSTR_ROCK: gg_scriptstr = id; - default: IdentifyGlkObject(1, 1, id, gg_arguments-->0); - } - #endif; id = glk_stream_iterate(id, gg_arguments); }