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.
This commit is contained in:
Eric S. Raymond 2018-03-11 23:47:43 -04:00
parent 6de0149f9e
commit f01b3267c8

4
main.c
View file

@ -1089,9 +1089,9 @@ Lclearobj:
#ifdef BROKEN #ifdef BROKEN
/* Handling of actionless object followed by objectless action */ /* 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; command.obj = preserve.obj;
#endif #endif /* BROKEN */
++game.turns; ++game.turns;