summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 0a960b525f..6f238654ad 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -93,8 +93,9 @@ bool cast_selective_amnesia(bool force)
return (false);
}
- if (!force &&
- random2(you.skills[SK_SPELLCASTING]) < random2(spell_difficulty(spell)))
+ if (!force
+ && random2(you.skills[SK_SPELLCASTING])
+ < random2(spell_difficulty(spell)))
{
mpr("Oops! This spell sure is a blunt instrument.");
forget_map(20 + random2(50));