summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/beam.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/beam.cc')
-rw-r--r--crawl-ref/source/beam.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/beam.cc b/crawl-ref/source/beam.cc
index ae0dadbe7c..29aa469aac 100644
--- a/crawl-ref/source/beam.cc
+++ b/crawl-ref/source/beam.cc
@@ -243,7 +243,7 @@ bool player_tracer( zap_type ztype, int power, bolt &pbolt, int range)
pbolt.is_tracer = true;
pbolt.source = you.pos();
- pbolt.can_see_invis = player_see_invis();
+ pbolt.can_see_invis = you.can_see_invisible();
pbolt.smart_monster = true;
pbolt.attitude = ATT_FRIENDLY;
pbolt.thrower = KILL_YOU_MISSILE;