summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
6de0149)
...update the condioned-out code to at least make sense with the
current versions of the data structures.
#ifdef BROKEN
/* Handling of actionless object followed by objectless action */
#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;
command.obj = preserve.obj;
++game.turns;
if (closecheck()) {
++game.turns;
if (closecheck()) {