summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mon-place.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/mon-place.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/mon-place.cc')
-rw-r--r--crawl-ref/source/mon-place.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/mon-place.cc b/crawl-ref/source/mon-place.cc
index 3a88d27774..27b6c8fe20 100644
--- a/crawl-ref/source/mon-place.cc
+++ b/crawl-ref/source/mon-place.cc
@@ -1036,7 +1036,7 @@ int place_monster(mgen_data mg, bool force_pos)
// Don't give XP for the slaves to discourage hunting. Pikel
// has an artificially large XP modifier to compensate for
// this.
- menv[band_id].flags |= MF_CREATED_FRIENDLY;
+ menv[band_id].flags |= MF_NO_REWARD;
menv[band_id].props["pikel_band"] = true;
}
}
@@ -2578,7 +2578,7 @@ int mons_place(mgen_data mg)
if (mg.behaviour > NUM_BEHAVIOURS)
{
if (mg.behaviour == BEH_FRIENDLY)
- creation->flags |= MF_CREATED_FRIENDLY;
+ creation->flags |= MF_NO_REWARD;
if (mg.behaviour == BEH_NEUTRAL || mg.behaviour == BEH_GOOD_NEUTRAL
|| mg.behaviour == BEH_STRICT_NEUTRAL)