projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Magic number elimination, repair some careless replace damage.
[open-adventure.git]
/
actions.c
diff --git
a/actions.c
b/actions.c
index 4798d7d77150238647b95d8f2ebc4a68b459a299..e90cf195feb89efb3d5bf0620169b41263b5f95f 100644
(file)
--- a/
actions.c
+++ b/
actions.c
@@
-578,7
+578,7
@@
static int find(token_t verb, token_t obj)
obj == LIQLOC(game.loc) ||
(obj == DWARF && ATDWRF(game.loc) > 0))
spk = YOU_HAVEIT;
obj == LIQLOC(game.loc) ||
(obj == DWARF && ATDWRF(game.loc) > 0))
spk = YOU_HAVEIT;
- if (game.closed)spk = NEEDED_NE
replace
;
+ if (game.closed)spk = NEEDED_NE
ARBY
;
if (TOTING(obj))spk = ALREADY_CARRYING;
RSPEAK(spk);
return GO_CLEAROBJ;
if (TOTING(obj))spk = ALREADY_CARRYING;
RSPEAK(spk);
return GO_CLEAROBJ;