summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2012-04-24 02:13:05 +0200
committerAdam Borowski <kilobyte@angband.pl>2012-04-24 02:13:05 +0200
commit79ee9298979e0932c25658b634ca643eadd6a7df (patch)
tree23a22010d4b36ee21cdd7bdb948c64a0ac3c933b /crawl-ref/source/religion.h
parent35bb0853d84461b19a1d5d71e16733eceb98eaea (diff)
downloadcrawl-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.h2
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);