summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-cast.cc
diff options
context:
space:
mode:
authorStefan O'Rear <stefanor@cox.net>2009-12-28 01:52:41 -0800
committerStefan O'Rear <stefanor@cox.net>2009-12-28 02:23:13 -0800
commit4bd11a2119ce0fd7f137233e16cd7f745c13a2dd (patch)
tree0ffe65e163f3bab8680bc44f278a9e3397891a35 /crawl-ref/source/spl-cast.cc
parent1f482e4025a81d46a44479d85c53daa503cb5a11 (diff)
downloadcrawl-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/spl-cast.cc')
-rw-r--r--crawl-ref/source/spl-cast.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc
index 7a65c84f2e..9f875c298f 100644
--- a/crawl-ref/source/spl-cast.cc
+++ b/crawl-ref/source/spl-cast.cc
@@ -1058,7 +1058,7 @@ static void _try_monster_cast(spell_type spell, int powc,
mon->type = MONS_HUMAN;
mon->behaviour = BEH_SEEK;
mon->attitude = ATT_FRIENDLY;
- mon->flags = (MF_CREATED_FRIENDLY | MF_JUST_SUMMONED | MF_SEEN
+ mon->flags = (MF_NO_REWARD | MF_JUST_SUMMONED | MF_SEEN
| MF_WAS_IN_VIEW | MF_HARD_RESET);
mon->hit_points = you.hp;
mon->hit_dice = you.experience_level;