Remove unneeded code.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 15 Nov 2018 00:08:55 +0000 (19:08 -0500)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 15 Nov 2018 00:08:55 +0000 (19:08 -0500)
main.c

diff --git a/main.c b/main.c
index 05812402df1ff34831e178b2b295a269f6e6a1f7..e8625b2978c4529aa945b05a3d5de977a2d5f20b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1091,12 +1091,6 @@ Lclosecheck:
         if (preserve.word[0].type == ACTION && preserve.word[1].type == NO_WORD_TYPE && command.word[1].id == 0)
             command.verb = preserve.verb;
 
-#ifdef BROKEN
-        /* Handling of actionless object followed by objectless action */
-        if (preserve.word[0].type == OBJECT && preserve.word[1].type == NO_WORD_TYPE && command.word[1].id == 0 && command.word[0].id == CARRY)
-            command.obj = preserve.obj;
-#endif /* BROKEN */
-       
         ++game.turns;
 
         if (closecheck()) {