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:
parent
6de0149f9e
commit
f01b3267c8
1 changed files with 3 additions and 3 deletions
4
main.c
4
main.c
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue