summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.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/player.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/player.cc')
-rw-r--r--crawl-ref/source/player.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index f914de5720..18d5fdcae3 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -5078,11 +5078,6 @@ void dec_haste_player(int delay)
}
}
-bool disease_player(int amount)
-{
- return you.sicken(amount);
-}
-
void dec_disease_player(int delay)
{
if (you.disease > 0)
@@ -6720,7 +6715,7 @@ bool player::rot(actor *who, int amount, int immediate, bool quiet)
}
if (one_chance_in(4))
- disease_player(50 + random2(100));
+ sicken(50 + random2(100));
return (true);
}