Remove shadowing of variable 73/head
authorNHOrus <jy6x2b32pie9@yahoo.com>
Tue, 13 Jun 2017 18:12:16 +0000 (21:12 +0300)
committerNHOrus <jy6x2b32pie9@yahoo.com>
Tue, 13 Jun 2017 18:12:16 +0000 (21:12 +0300)
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)) {