summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monster.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/monster.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/monster.cc')
-rw-r--r--crawl-ref/source/monster.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/monster.cc b/crawl-ref/source/monster.cc
index 862aa075c4..f9d18c97d9 100644
--- a/crawl-ref/source/monster.cc
+++ b/crawl-ref/source/monster.cc
@@ -5955,7 +5955,7 @@ void monsters::react_to_damage(int damage, beam_type flavour, kill_category whos
if (nmons != -1 && nmons != NON_MONSTER)
{
// Don't allow milking the royal jelly.
- menv[nmons].flags |= MF_CREATED_FRIENDLY;
+ menv[nmons].flags |= MF_NO_REWARD;
spawned++;
}
}