summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authordshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-29 16:09:35 +0000
committerdshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573>2008-12-29 16:09:35 +0000
commitf5d7515c3cd305b003f95ac5c636eb0c529a0b9c (patch)
treeefca9d3347f9806a1088a2a90fd5f3d7ba03e2d9 /crawl-ref/source/player.cc
parent14c07a62dab6301ce6e7613786c584b12be85c80 (diff)
downloadcrawl-ref-f5d7515c3cd305b003f95ac5c636eb0c529a0b9c.tar.gz
crawl-ref-f5d7515c3cd305b003f95ac5c636eb0c529a0b9c.zip
Implement divination miscasts for orange statues, fix silver and orange statues to attack monsters as they attack the player. Also fix clouds not being cleared on level reset in dungeon.cc.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8017 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index cc236f217a..f04a9e4094 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -6827,12 +6827,12 @@ void player::rot(actor *who, int rotlevel, int immed_rot)
disease_player( 50 + random2(100) );
}
-void player::confuse(int str)
+void player::confuse(actor *who, int str)
{
confuse_player(str);
}
-void player::paralyse(int str)
+void player::paralyse(actor *who, int str)
{
int &paralysis(duration[DUR_PARALYSIS]);
@@ -6846,7 +6846,7 @@ void player::paralyse(int str)
paralysis = 13;
}
-void player::petrify(int str)
+void player::petrify(actor *who, int str)
{
int &petrif(duration[DUR_PETRIFIED]);
@@ -6859,7 +6859,7 @@ void player::petrify(int str)
petrif = std::min(13, petrif);
}
-void player::slow_down(int str)
+void player::slow_down(actor *foe, int str)
{
::slow_player( str );
}