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/spells3.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/spells3.cc')
-rw-r--r-- | crawl-ref/source/spells3.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc index a7c00c9481..64c27c7fa1 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1290,7 +1290,7 @@ bool cast_haunt(int pow, const coord_def& where, god_type god) (chance > 2) ? MONS_FREEZING_WRAITH // 20%/16% : MONS_SPECTRAL_WARRIOR); // 12% - if ((chance == 3 || chance == 8) && player_see_invis()) + if ((chance == 3 || chance == 8) && you.can_see_invisible()) mon = MONS_SHADOW_WRAITH; // 0%/8% const int monster = |