diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-09 19:58:13 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-07-09 19:58:13 +0000 |
commit | eff8f68d9b45112f8d68711ebb8e6ab8f3d140f3 (patch) | |
tree | 0d2feeedaf0d075feea120107d2637230d83c587 /crawl-ref/source/religion.cc | |
parent | 8ce32d803c442a2211c2f10bb0f2cac982435e33 (diff) | |
download | crawl-ref-eff8f68d9b45112f8d68711ebb8e6ab8f3d140f3.tar.gz crawl-ref-eff8f68d9b45112f8d68711ebb8e6ab8f3d140f3.zip |
Make holy beings turn hostile if you start worshipping a non-good god,
or no god, even if you weren't worshipping a good god before, so that if
Xom has sent you one, and you dump him for an evil god, it'll turn on
you properly.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6462 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index f07b656b95..21dda6e4e3 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -4944,13 +4944,10 @@ void excommunication(god_type new_god) break; } - // When you leave one of the good gods for a non-good god, or no - // god, you make all non-hostile holy beings hostile. - if (is_good_god(old_god) && !is_good_god(new_god) - && _holy_beings_attitude_change()) - { + // When you start worshipping a non-good god, or no god, you make + // all non-hostile holy beings hostile. + if (!is_good_god(new_god) && _holy_beings_attitude_change()) mpr("The divine host forsakes you.", MSGCH_MONSTER_ENCHANT); - } learned_something_new(TUT_EXCOMMUNICATE, (int)new_god, old_piety); } |