summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-23 17:43:27 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-02-23 17:43:27 +0000
commit54f56857a3c728c64847aa3a5f9704bdf967ac39 (patch)
tree458a4ba0aef900c72522d2867b7fd10921a5d1e5
parent5e736681c8268f0584e89bc9db457bd5d77904e9 (diff)
downloadcrawl-ref-54f56857a3c728c64847aa3a5f9704bdf967ac39.tar.gz
crawl-ref-54f56857a3c728c64847aa3a5f9704bdf967ac39.zip
Add minor cosmetic fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9176 c06c8d41-db1a-0410-9941-cceddc491573
-rw-r--r--crawl-ref/source/effects.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc
index 8a770bafd5..021e4b08f7 100644
--- a/crawl-ref/source/effects.cc
+++ b/crawl-ref/source/effects.cc
@@ -3106,7 +3106,7 @@ void handle_time(long time_delta)
if (!you.disease)
{
// With slow healing 3, you have no stat recovery.
- if (x_chance_in_y(3 - you.mutation[MUT_SLOW_HEALING], 3))
+ if (x_chance_in_y(3 - player_mutation_level(MUT_SLOW_HEALING), 3))
{
if (you.strength < you.max_strength && one_chance_in(100))
restore_stat(STAT_STRENGTH, 0, false, true);