summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 22:25:52 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-30 22:25:52 +0000
commit51bb503297931e5a8c35ea76e92c4feac67d6e08 (patch)
treea1db3c36835863699482bfa1378d094223c1344a /crawl-ref/source/religion.cc
parent09af3a09ba0e6e5243d900e47ac6bf2df6e3b9e0 (diff)
downloadcrawl-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.cc2
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)