diff options
author | Stefan O'Rear <stefanor@cox.net> | 2009-12-28 01:52:41 -0800 |
---|---|---|
committer | Stefan O'Rear <stefanor@cox.net> | 2009-12-28 02:23:13 -0800 |
commit | 4bd11a2119ce0fd7f137233e16cd7f745c13a2dd (patch) | |
tree | 0ffe65e163f3bab8680bc44f278a9e3397891a35 /crawl-ref/source/misc.cc | |
parent | 1f482e4025a81d46a44479d85c53daa503cb5a11 (diff) | |
download | crawl-ref-4bd11a2119ce0fd7f137233e16cd7f745c13a2dd.tar.gz crawl-ref-4bd11a2119ce0fd7f137233e16cd7f745c13a2dd.zip |
Rename MF_CREATED_FRIENDLY to MF_NO_REWARD, since that's all it's used for these days.
Diffstat (limited to 'crawl-ref/source/misc.cc')
-rw-r--r-- | crawl-ref/source/misc.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/misc.cc b/crawl-ref/source/misc.cc index b5c9e6bb40..2cc226f127 100644 --- a/crawl-ref/source/misc.cc +++ b/crawl-ref/source/misc.cc @@ -3219,7 +3219,7 @@ bool stop_attack_prompt(const monsters *mon, bool beam_attack, const bool isUnchivalric = is_unchivalric_attack(&you, mon); const bool isHoly = mon->is_holy() && (mon->attitude != ATT_HOSTILE - || testbits(mon->flags, MF_CREATED_FRIENDLY) + || testbits(mon->flags, MF_NO_REWARD) || testbits(mon->flags, MF_WAS_NEUTRAL)); if (isFriendly) |