summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-book.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-25 03:16:07 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-05-25 03:16:07 +0000
commit5e50467df71766be3f79b72d59f93c797164834f (patch)
treef57b20416a8423fddd86ab7ef9aac83d589df27a /crawl-ref/source/spl-book.cc
parentdfdbf0d88feb2e7e5e136af374edd4e26342f762 (diff)
downloadcrawl-ref-5e50467df71766be3f79b72d59f93c797164834f.tar.gz
crawl-ref-5e50467df71766be3f79b72d59f93c797164834f.zip
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5230 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-book.cc')
-rw-r--r--crawl-ref/source/spl-book.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-book.cc b/crawl-ref/source/spl-book.cc
index eba4d328e5..95f22ac75d 100644
--- a/crawl-ref/source/spl-book.cc
+++ b/crawl-ref/source/spl-book.cc
@@ -1528,13 +1528,14 @@ int staff_spell( int staff )
}
const int flags = get_spell_flags(spell);
+
// Labyrinths block divinations.
if (you.level_type == LEVEL_LABYRINTH
&& testbits(flags, SPFLAG_MAPPING))
{
mpr("Something interferes with your magic!");
}
- // All checks passed, we can cast the spell
+ // All checks passed, we can cast the spell.
else if (your_spells(spell, powc, false) == SPRET_ABORT)
{
crawl_state.zero_turns_taken();