From: Eric S. Raymond Date: Thu, 15 Nov 2018 00:08:55 +0000 (-0500) Subject: Remove unneeded code. X-Git-Tag: 1.6~1 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=0590c080eec764cc8d50e8c8875a4ecd9ff76ff9;hp=7bb2cda986e7357547ffff85268c765b53257111 Remove unneeded code. --- diff --git a/main.c b/main.c index 0581240..e8625b2 100644 --- 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()) {