summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc11
1 files changed, 3 insertions, 8 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 1661a1f33a..31e06876bf 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -332,14 +332,9 @@ int spell_fail(spell_type spell)
// Dwarven armour hinders everyone.
switch (race_arm)
{
- case ISFLAG_ELVEN:
- armour -= 20;
- break;
- case ISFLAG_DWARVEN:
- armour += 10;
- break;
- default:
- break;
+ case ISFLAG_ELVEN: armour -= 20; break;
+ case ISFLAG_DWARVEN: armour += 10; break;
+ default: break;
}
// Armour of the same racial type reduces penalty.