summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/tags.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-12 14:48:27 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-02-12 14:48:27 +0000
commitb77d175f750cbcc9cd886718386524640a30b4ce (patch)
tree77999e98b15b9dc006938d7cf3740f39c206766d /crawl-ref/source/tags.cc
parente8e7c9ee54157097b03cf40bce5c4860b411f91a (diff)
downloadcrawl-ref-b77d175f750cbcc9cd886718386524640a30b4ce.tar.gz
crawl-ref-b77d175f750cbcc9cd886718386524640a30b4ce.zip
Tweak DID_KILL_HOLY handling to allow for killing hostile angels
without being put under penance by the good gods. Also add a flag MF_WAS_NEUTRAL, so that previously neutral monsters can be handled differently from always hostile ones. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3432 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/tags.cc')
-rw-r--r--crawl-ref/source/tags.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/tags.cc b/crawl-ref/source/tags.cc
index ab03c40274..7e54a35bef 100644
--- a/crawl-ref/source/tags.cc
+++ b/crawl-ref/source/tags.cc
@@ -2128,7 +2128,7 @@ void tag_missing_level_attitude()
break;
}
- menv[i].attitude = (isFriendly)?ATT_FRIENDLY : ATT_HOSTILE;
+ menv[i].attitude = (isFriendly)? ATT_FRIENDLY : ATT_HOSTILE;
menv[i].behaviour = static_cast<beh_type>(new_beh);
menv[i].foe_memory = 0;
}