summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-27 11:29:36 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-06-27 11:29:36 +0000
commit8ffc1d0f5d768e27b971f9afe4361fd3309a13ca (patch)
treeb8b71e963ff1b29642f8f0ebbd64c9cfa215e7d1 /crawl-ref/source/spl-cast.cc
parentba538e981022fdf1a983fbf1b9bcf4abaed4e78f (diff)
downloadcrawl-ref-8ffc1d0f5d768e27b971f9afe4361fd3309a13ca.tar.gz
crawl-ref-8ffc1d0f5d768e27b971f9afe4361fd3309a13ca.zip
Fix compilation.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@10058 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index a73c60a9d6..3d848bd82d 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -584,7 +584,7 @@ int spell_enhancement( unsigned int typeflags )
if (typeflags & SPTYP_AIR)
enhanced += player_spec_air() - player_spec_earth();
- if (you.unrand_reacts == SPWLD_SHADOW)
+ if (you.attribute[ATTR_SHADOWS])
enhanced -= 2;
// These are used in an exponential way, so we'll limit them a bit. -- bwr