summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/mstuff2.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-09 07:08:04 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-09 07:08:04 +0000
commitae3f3137e8bf48b0276484074f6a03c9dc7497af (patch)
tree3df66a545a40ac0ac25a05c36eb3501ce012773d /crawl-ref/source/mstuff2.cc
parentb9005fdff781a76600ceff611d01dd9d649f748d (diff)
downloadcrawl-ref-ae3f3137e8bf48b0276484074f6a03c9dc7497af.tar.gz
crawl-ref-ae3f3137e8bf48b0276484074f6a03c9dc7497af.zip
Use the proper flag type to indicate god gifts (oops).
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5645 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/mstuff2.cc')
-rw-r--r--crawl-ref/source/mstuff2.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/mstuff2.cc b/crawl-ref/source/mstuff2.cc
index da8801bb37..9f0f5d566f 100644
--- a/crawl-ref/source/mstuff2.cc
+++ b/crawl-ref/source/mstuff2.cc
@@ -511,7 +511,7 @@ void mons_cast(monsters *monster, bolt &pbolt, spell_type spell_cast)
// XXX: Mark summoned creatures from priestly monsters as god gifts.
// Once monsters can worship gods (and, presumably, get invocation
// lists), this should no longer be needed.
- const unsigned flags = mons_is_priest(monster) ? MF_GOD_GIFT : 0;
+ const unsigned flags = mons_is_priest(monster) ? MG_GOD_GIFT : 0;
#if DEBUG_DIAGNOSTICS
mprf(MSGCH_DIAGNOSTICS, "Mon #%d casts %s (#%d)",