From: NHOrus Date: Thu, 6 Jul 2017 07:32:33 +0000 (+0300) Subject: Improve readability X-Git-Tag: 2017-07-10~50 X-Git-Url: https://jxself.org/git/?p=open-adventure.git;a=commitdiff_plain;h=fd3b08e7d186e04340a2b645f20d123ca47bb63c Improve readability --- diff --git a/actions.c b/actions.c index 1aa70ac..588b4d9 100644 --- a/actions.c +++ b/actions.c @@ -1170,9 +1170,9 @@ static int throw (struct command_t *command) return throw_support(DRAGON_SCALES); if (AT(TROLL)) return throw_support(TROLL_RETURNS); - else if (AT(OGRE)) + if (AT(OGRE)) return throw_support(OGRE_DODGE); - else if (HERE(BEAR) && game.prop[BEAR] == UNTAMED_BEAR) { + if (HERE(BEAR) && game.prop[BEAR] == UNTAMED_BEAR) { /* This'll teach him to throw the axe at the bear! */ drop(AXE, game.loc); game.fixed[AXE] = IS_FIXED;