summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-08 11:56:10 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-07-08 11:56:10 +0000
commitd8a3aef168a6f025525282d57a4649c01439404d (patch)
tree19980a35173d7f2148d440b4b9bd5a51f5719b08 /crawl-ref/source/misc.cc
parent4a90639598b8814c8c9036a8b8d2deccbc16d50f (diff)
downloadcrawl-ref-d8a3aef168a6f025525282d57a4649c01439404d.tar.gz
crawl-ref-d8a3aef168a6f025525282d57a4649c01439404d.zip
Fix 2008976: Unlinked items after area_shift()
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6454 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r--crawl-ref/source/misc.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc
index 2ebe2153f9..7e23bd12e7 100644
--- a/crawl-ref/source/misc.cc
+++ b/crawl-ref/source/misc.cc
@@ -2730,8 +2730,8 @@ bool stop_attack_prompt(const monsters *mon, bool beam_attack,
else if (inSanctuary || wontAttack
|| (isNeutral || isHoly) && is_good_god(you.religion)
|| isUnchivalric
- && you.religion == GOD_SHINING_ONE
- && !tso_unchivalric_attack_safe_monster(mon))
+ && you.religion == GOD_SHINING_ONE
+ && !tso_unchivalric_attack_safe_monster(mon))
{
// "Really fire through the helpless neutral holy Daeva?"
// was: "Really fire through this helpless neutral holy creature?"