diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-30 22:25:52 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-06-30 22:25:52 +0000 |
commit | 51bb503297931e5a8c35ea76e92c4feac67d6e08 (patch) | |
tree | a1db3c36835863699482bfa1378d094223c1344a /crawl-ref/source/religion.cc | |
parent | 09af3a09ba0e6e5243d900e47ac6bf2df6e3b9e0 (diff) | |
download | crawl-ref-51bb503297931e5a8c35ea76e92c4feac67d6e08.tar.gz crawl-ref-51bb503297931e5a8c35ea76e92c4feac67d6e08.zip |
Fix 2007064: Assertion error when changing religion as a Lugonu Chaos
Knight while still in the Abyss (only possible in wizard mode)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6270 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 1966e9b047..303e26716e 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -5509,7 +5509,7 @@ void god_pitch(god_type which_god) mpr("Your evil allies forsake you.", MSGCH_MONSTER_ENCHANT); if (you.religion == GOD_ZIN && _chaotic_beings_attitude_change()) mpr("Your chaotic allies forsake you.", MSGCH_MONSTER_ENCHANT); - if (you.religion == GOD_TROG && _magic_users_attitude_change()) + else if (you.religion == GOD_TROG && _magic_users_attitude_change()) mpr("Your magic-using allies forsake you.", MSGCH_MONSTER_ENCHANT); if (you.religion == GOD_ELYVILON) |