summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/cloud.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/cloud.cc')
-rw-r--r--crawl-ref/source/cloud.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/cloud.cc b/crawl-ref/source/cloud.cc
index 24b62e6977..9b01fa84d6 100644
--- a/crawl-ref/source/cloud.cc
+++ b/crawl-ref/source/cloud.cc
@@ -541,7 +541,7 @@ void in_a_cloud()
case CLOUD_MIASMA:
mpr("You are engulfed in a dark miasma.");
- if (player_prot_life() > random2(3))
+ if (x_chance_in_y(player_prot_life(), 3))
return;
poison_player(1);