From f01b3267c87c6d5670aa47e586fde0d622952bae Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sun, 11 Mar 2018 23:47:43 -0400 Subject: [PATCH] An attempt to fix GitLab issue #37 failed, but... ...update the condioned-out code to at least make sense with the current versions of the data structures. --- main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.c b/main.c index 5cdbcc4..c1ebe0e 100644 --- a/main.c +++ b/main.c @@ -1089,10 +1089,10 @@ Lclearobj: #ifdef BROKEN /* Handling of actionless object followed by objectless action */ - if (preserve.type1 == OBJECT && preserve.type2 == NO_WORD_TYPE && command.id2 == 0) + 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 - +#endif /* BROKEN */ + ++game.turns; if (closecheck()) { -- 2.31.1