diff options
author | Adam Borowski <kilobyte@angband.pl> | 2012-04-24 02:13:05 +0200 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2012-04-24 02:13:05 +0200 |
commit | 79ee9298979e0932c25658b634ca643eadd6a7df (patch) | |
tree | 23a22010d4b36ee21cdd7bdb948c64a0ac3c933b /crawl-ref/source/religion.h | |
parent | 35bb0853d84461b19a1d5d71e16733eceb98eaea (diff) | |
download | crawl-ref-79ee9298979e0932c25658b634ca643eadd6a7df.tar.gz crawl-ref-79ee9298979e0932c25658b634ca643eadd6a7df.zip |
Simplify random_god().
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r-- | crawl-ref/source/religion.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h index e122d42d67..fe20435652 100644 --- a/crawl-ref/source/religion.h +++ b/crawl-ref/source/religion.h @@ -28,7 +28,7 @@ bool is_chaotic_god(god_type god); // orthogonal to whether the player can worship the god in question. bool is_unavailable_god(god_type god); -god_type random_god(bool disallow_no_god = false); +god_type random_god(bool available = true); void simple_god_message(const char *event, god_type which_deity = you.religion); int piety_breakpoint(int i); |