diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-05-24 01:35:42 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-05-24 02:06:53 -0400 |
commit | 2d06bffd5ab5043f7c4cfe67328844405078ee07 (patch) | |
tree | e8dde0ac9aaf3e002adb5255902957c191a30196 /crawl-ref/source/random.cc | |
parent | f638c35fa00d49858e26e5c095e56f24705d8408 (diff) | |
download | crawl-ref-2d06bffd5ab5043f7c4cfe67328844405078ee07.tar.gz crawl-ref-2d06bffd5ab5043f7c4cfe67328844405078ee07.zip |
Chance function(void) to function()
Diffstat (limited to 'crawl-ref/source/random.cc')
-rw-r--r-- | crawl-ref/source/random.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/random.cc b/crawl-ref/source/random.cc index 3d0ed1a6f0..7fb382fc61 100644 --- a/crawl-ref/source/random.cc +++ b/crawl-ref/source/random.cc @@ -152,7 +152,7 @@ int ui_random(int max) } // [0, 1] -bool coinflip(void) +bool coinflip() { return static_cast<bool>(random2(2)); } |