summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-22 12:47:28 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-22 12:48:08 +0300
commit058224d30dadecbcefb942afbd28fdcbdfc81128 (patch)
tree63dfee755926c8699af40ff6f030835a6e838d43 /crawl-ref/source/spells3.cc
parent81d0709e178961528ffeef26e61d5fe65547eeaf (diff)
downloadcrawl-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.cc2
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);