summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/random.h
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-05-18 17:16:53 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-05-18 17:18:14 -0400
commit95380fa57b86281ddc8fc65de7cb7f9d2ad62181 (patch)
tree3fdb39176c108086a34d0d50ff2a1bb8d9d14b81 /crawl-ref/source/random.h
parentdddc889b75f8373861067f0a789f8e1bc6f36489 (diff)
downloadcrawl-ref-95380fa57b86281ddc8fc65de7cb7f9d2ad62181.tar.gz
crawl-ref-95380fa57b86281ddc8fc65de7cb7f9d2ad62181.zip
Rename percent_chance() decimal_chance() (|amethyst)
Diffstat (limited to 'crawl-ref/source/random.h')
-rw-r--r--crawl-ref/source/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/random.h b/crawl-ref/source/random.h
index 1e6d4fa453..04e8fb4c49 100644
--- a/crawl-ref/source/random.h
+++ b/crawl-ref/source/random.h
@@ -30,7 +30,7 @@ int binomial_generator(unsigned n_trials, unsigned trial_prob);
bool bernoulli(double n_trials, double trial_prob);
int fuzz_value(int val, int lowfuzz, int highfuzz, int naverage = 2);
int roll_dice(int num, int size);
-bool percent_chance(double percent);
+bool decimal_chance(double percent);
int ui_random(int max);