summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/player.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/player.cc')
-rw-r--r--crawl-ref/source/player.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/player.cc b/crawl-ref/source/player.cc
index 7a66a9538a..a210328302 100644
--- a/crawl-ref/source/player.cc
+++ b/crawl-ref/source/player.cc
@@ -5048,9 +5048,9 @@ bool confuse_player(int amount, bool resistable)
return (true);
}
-bool curare_hits_player(int agent, int degree)
+bool curare_hits_player(int agent, int amount)
{
- poison_player(degree);
+ poison_player(amount);
const bool res_poison = player_res_poison() > 0;
@@ -5070,7 +5070,7 @@ bool curare_hits_player(int agent, int degree)
ouch(hurted, agent, KILLED_BY_CURARE, "curare-induced apnoea");
}
- potion_effect(POT_SLOWING, 2 + random2(4 + degree));
+ potion_effect(POT_SLOWING, 2 + random2(4 + amount));
}
return (hurted > 0);