Address GitLab issue #55: water should not be available in endgame.
This commit is contained in:
parent
a251e18682
commit
f2f238e9e4
3 changed files with 2891 additions and 2 deletions
|
@ -1354,8 +1354,8 @@ phase_codes_t action(command_t command)
|
|||
/* FALL THROUGH */;
|
||||
else if (command.obj == DWARF && atdwrf(game.loc) > 0)
|
||||
/* FALL THROUGH */;
|
||||
else if ((LIQUID() == command.obj && HERE(BOTTLE)) ||
|
||||
command.obj == LIQLOC(game.loc))
|
||||
else if (!game.closed && ((LIQUID() == command.obj && HERE(BOTTLE)) ||
|
||||
command.obj == LIQLOC(game.loc)))
|
||||
/* FALL THROUGH */;
|
||||
else if (command.obj == OIL && HERE(URN) && game.prop[URN] != URN_EMPTY) {
|
||||
command.obj = URN;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue