projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Address GitLab issue #55: water should not be available in endgame.
[open-adventure.git]
/
actions.c
diff --git
a/actions.c
b/actions.c
index 9917199bc5bcef7bed8a7ca38ba1174ba1e63df4..3946b0e7268a0539e9a7b39fd19fccf9b3995bbb 100644
(file)
--- a/
actions.c
+++ b/
actions.c
@@
-1354,8
+1354,8
@@
phase_codes_t action(command_t command)
/* FALL THROUGH */;
else if (command.obj == DWARF && atdwrf(game.loc) > 0)
/* FALL THROUGH */;
/* 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;
/* FALL THROUGH */;
else if (command.obj == OIL && HERE(URN) && game.prop[URN] != URN_EMPTY) {
command.obj = URN;