summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/ghost.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/ghost.cc')
-rw-r--r--crawl-ref/source/ghost.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/ghost.cc b/crawl-ref/source/ghost.cc
index c3fd89bbeb..cbca0a09f1 100644
--- a/crawl-ref/source/ghost.cc
+++ b/crawl-ref/source/ghost.cc
@@ -332,7 +332,7 @@ void ghost_demon::init_player_ghost()
if (ev > MAX_GHOST_EVASION)
ev = MAX_GHOST_EVASION;
- see_invis = player_see_invis();
+ see_invis = you.can_see_invisible();
resists.fire = player_res_fire();
resists.cold = player_res_cold();
resists.elec = player_res_electricity();