summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells2.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/spells2.cc')
-rw-r--r--crawl-ref/source/spells2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc
index bb3427da8f..cfd9b8921a 100644
--- a/crawl-ref/source/spells2.cc
+++ b/crawl-ref/source/spells2.cc
@@ -805,7 +805,7 @@ void cast_toxic_radiance(void)
mesclr();
// determine whether the player is hit by the radiance: {dlb}
- if (you.invis)
+ if (you.duration[DUR_INVIS])
{
mpr("The light passes straight through your body.");
}