summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells1.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-05 20:48:05 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2007-09-05 20:48:05 +0000
commit6608eef87f00996c9a9757692e5bb26c25cb35ac (patch)
tree2de83c7449ff009dc929eaaa50982619726c9adc /crawl-ref/source/spells1.cc
parent88fd21a557af9d87d660e896023b7e8788ea915f (diff)
downloadcrawl-ref-6608eef87f00996c9a9757692e5bb26c25cb35ac.tar.gz
crawl-ref-6608eef87f00996c9a9757692e5bb26c25cb35ac.zip
Added a message when Condensation Shield is extended
(inspired by BR 1763077) and removed double levitation extension if flying. Also, rods don't give the surge message anymore as spell enhancers are ignored anyway. Added message to show when a weapon of reaching is being used. (FR 1781922) git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@2058 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spells1.cc')
-rw-r--r--crawl-ref/source/spells1.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells1.cc b/crawl-ref/source/spells1.cc
index 16323f0035..0c2e53698f 100644
--- a/crawl-ref/source/spells1.cc
+++ b/crawl-ref/source/spells1.cc
@@ -786,7 +786,7 @@ void extension(int pow)
contamination++;
}
- if (you.duration[DUR_LEVITATION])
+ if (you.duration[DUR_LEVITATION] && !you.duration[DUR_CONTROLLED_FLIGHT])
potion_effect(POT_LEVITATION, pow);
if (you.duration[DUR_INVIS])