diff options
author | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-22 12:47:28 +0300 |
---|---|---|
committer | Vsevolod Kozlov <zaba@thorium.homeunix.org> | 2009-11-22 12:48:08 +0300 |
commit | 058224d30dadecbcefb942afbd28fdcbdfc81128 (patch) | |
tree | 63dfee755926c8699af40ff6f030835a6e838d43 /crawl-ref/source/spells3.cc | |
parent | 81d0709e178961528ffeef26e61d5fe65547eeaf (diff) | |
download | crawl-ref-058224d30dadecbcefb942afbd28fdcbdfc81128.tar.gz crawl-ref-058224d30dadecbcefb942afbd28fdcbdfc81128.zip |
Replace uses of disease_player with player::sicken.
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 49d51e12b9..08e6243fb3 100644 --- a/crawl-ref/source/spells3.cc +++ b/crawl-ref/source/spells3.cc @@ -1337,7 +1337,7 @@ bool cast_haunt(int pow, const coord_def& where, god_type god) || player_under_penance() || you.piety < piety_breakpoint(3) || !x_chance_in_y(you.piety, MAX_PIETY)) { - disease_player(25 + random2(50)); + you.sicken(25 + random2(50)); } return (success); |