From fd3b08e7d186e04340a2b645f20d123ca47bb63c Mon Sep 17 00:00:00 2001 From: NHOrus Date: Thu, 6 Jul 2017 10:32:33 +0300 Subject: [PATCH] Improve readability --- actions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.31.1