summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/describe.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/describe.cc')
-rw-r--r--crawl-ref/source/describe.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index 2b122cbc63..5adabd8e35 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -743,7 +743,7 @@ static std::string _describe_demon(const monsters &mons)
description << ".";
- if (random2(40) < 3)
+ if (x_chance_in_y(3, 40))
{
if (player_can_smell())
{