diff options
author | Robert Vollmert <rvollmert@gmx.net> | 2009-10-22 18:14:00 +0200 |
---|---|---|
committer | Robert Vollmert <rvollmert@gmx.net> | 2009-10-22 22:37:07 +0200 |
commit | 78f7b9d8e5921ef3e1f64d01c802436a654c177a (patch) | |
tree | 3d58adf6061925cc6f729a819f4a2c64bccb34d9 /crawl-ref/source/ghost.cc | |
parent | ed4a22bce4db2328e945840901176b49d4b573e7 (diff) | |
download | crawl-ref-78f7b9d8e5921ef3e1f64d01c802436a654c177a.tar.gz crawl-ref-78f7b9d8e5921ef3e1f64d01c802436a654c177a.zip |
Move player_see_invis into player class.
Diffstat (limited to 'crawl-ref/source/ghost.cc')
-rw-r--r-- | crawl-ref/source/ghost.cc | 2 |
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(); |