Apply DEMOTE_WORD().
This commit is contained in:
parent
ab94051da1
commit
b3fb636149
1 changed files with 1 additions and 1 deletions
2
main.c
2
main.c
|
@ -1115,7 +1115,7 @@ L2607:
|
||||||
/* FIXME: Magic numbers related to vocabulary */
|
/* FIXME: Magic numbers related to vocabulary */
|
||||||
if (!((V1 != PROMOTE_WORD(WATER) && V1 != PROMOTE_WORD(OIL)) ||
|
if (!((V1 != PROMOTE_WORD(WATER) && V1 != PROMOTE_WORD(OIL)) ||
|
||||||
(V2 != PROMOTE_WORD(PLANT) && V2 != PROMOTE_WORD(DOOR)))) {
|
(V2 != PROMOTE_WORD(PLANT) && V2 != PROMOTE_WORD(DOOR)))) {
|
||||||
if (AT(V2 - 1000))
|
if (AT(DEMOTE_WORD(V2)))
|
||||||
command.wd2 = token_to_packed("POUR");
|
command.wd2 = token_to_packed("POUR");
|
||||||
}
|
}
|
||||||
if (V1 == PROMOTE_WORD(CAGE) && V2 == PROMOTE_WORD(BIRD) && HERE(CAGE) && HERE(BIRD))
|
if (V1 == PROMOTE_WORD(CAGE) && V2 == PROMOTE_WORD(BIRD) && HERE(CAGE) && HERE(BIRD))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue