summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-08 00:44:14 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-08 00:44:14 +0000
commitd419d7dc79e02aafe700dcccba8638975a4cd2e7 (patch)
treeaea1a8b5dbf670bbd6c67dd031c88b8562c2b695 /crawl-ref/source/player.cc
parentdbab0ee932f675095c1bbd6a72911ded79eddf69 (diff)
downloadcrawl-ref-d419d7dc79e02aafe700dcccba8638975a4cd2e7.tar.gz
crawl-ref-d419d7dc79e02aafe700dcccba8638975a4cd2e7.zip
Add yet more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8967 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 0e0c362709..7331b97a01 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -5247,7 +5247,7 @@ bool confuse_player(int amount, bool resistable)
return (true);
}
-bool curare_hits_player(int agent, int amount)
+bool curare_hits_player(int death_source, int amount)
{
ASSERT(!crawl_state.arena);
@@ -5268,7 +5268,8 @@ bool curare_hits_player(int agent, int amount)
if (hurted)
{
mpr("You have difficulty breathing.");
- ouch(hurted, agent, KILLED_BY_CURARE, "curare-induced apnoea");
+ ouch(hurted, death_source, KILLED_BY_CURARE,
+ "curare-induced apnoea");
}
potion_effect(POT_SLOWING, 2 + random2(4 + amount));