diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-14 18:45:23 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-14 18:45:23 +0000 |
commit | dac70786ba4b5bb25196a32b8973e359f2c96e3a (patch) | |
tree | eab2776236849bddcb90c1cfb6c825d832763818 /crawl-ref/source/religion.h | |
parent | 43a8fc267d6386d366c600b24e30ec6937aa0b0b (diff) | |
download | crawl-ref-dac70786ba4b5bb25196a32b8973e359f2c96e3a.tar.gz crawl-ref-dac70786ba4b5bb25196a32b8973e359f2c96e3a.zip |
Consolidate the checks for gods that give you permanent followers into a
function, and have it take the other good gods into account, since, if
you switch from TSO to another good god, you keep all your non-daeva
permanent followers.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5821 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.h')
-rw-r--r-- | crawl-ref/source/religion.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/religion.h b/crawl-ref/source/religion.h index 6330f1f161..63aec2b5c9 100644 --- a/crawl-ref/source/religion.h +++ b/crawl-ref/source/religion.h @@ -56,6 +56,7 @@ bool is_good_god(god_type god); bool is_chaotic_god(god_type god); bool is_lawful_god(god_type god); bool is_priest_god(god_type god); +bool god_gives_permanent_followers(god_type god); void simple_god_message(const char *event, god_type which_deity = you.religion); int piety_breakpoint(int i); std::string god_name(god_type which_god, bool long_name = false); |