Improve readability
authorNHOrus <jy6x2b32pie9@yahoo.com>
Thu, 6 Jul 2017 07:32:33 +0000 (10:32 +0300)
committerNHOrus <jy6x2b32pie9@yahoo.com>
Thu, 6 Jul 2017 07:32:33 +0000 (10:32 +0300)
actions.c

index 1aa70ac2916115d0ad9a65d5cb2a7a4388daff48..588b4d979aa51d3bf2e9e418035d61429fdabaf5 100644 (file)
--- 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;