projects
/
open-adventure.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove shadowing of variable
[open-adventure.git]
/
actions.c
diff --git
a/actions.c
b/actions.c
index d14e6439d3a1b961c744a22133950dd76ae90742..c25668915aa10b7aa97f62dd6a8aeb96ea5390fd 100644
(file)
--- a/
actions.c
+++ b/
actions.c
@@
-470,7
+470,7
@@
static int feed(token_t verb, token_t obj)
return GO_CLEAROBJ;
}
else if (obj == SNAKE || obj == DRAGON || obj == TROLL) {
-
int
spk=102;
+ spk=102;
if (obj == DRAGON && game.prop[DRAGON] != 0)spk=110;
if (obj == TROLL)spk=182;
if (obj == SNAKE && !game.closed && HERE(BIRD)) {