From d419d7dc79e02aafe700dcccba8638975a4cd2e7 Mon Sep 17 00:00:00 2001 From: dolorous Date: Sun, 8 Feb 2009 00:44:14 +0000 Subject: 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 --- crawl-ref/source/player.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/player.cc') 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)); -- cgit v1.2.3-54-g00ecf