From: NHOrus Date: Tue, 13 Jun 2017 18:12:16 +0000 (+0300) Subject: Remove shadowing of variable X-Git-Tag: 1.1~342 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=2d1e089cafae777eac7b3c46412f847d8edae873 Remove shadowing of variable --- diff --git a/actions.c b/actions.c index d14e643..c256689 100644 --- 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)) {