diff options
Diffstat (limited to 'crawl-ref/source/stuff.cc')
-rw-r--r-- | crawl-ref/source/stuff.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/stuff.cc b/crawl-ref/source/stuff.cc index 6fef267f58..2ab5cec604 100644 --- a/crawl-ref/source/stuff.cc +++ b/crawl-ref/source/stuff.cc @@ -868,7 +868,7 @@ bool one_chance_in(int a_million) bool x_chance_in_y(int x, int y) { - if (x <= 0 || y <= 0) + if (x <= 0) return (false); if (x >= y) |