summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spl-mis.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-02 18:49:18 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-03-02 18:49:18 +0000
commit3ef70e6dea67553bc7f0748e57434b8fa8dc82cf (patch)
treecb1012bc18bf933615b2433dd85dfcb24c3ba668 /crawl-ref/source/spl-mis.cc
parent02f124467ef2c4f86de56628fa0ce76f77bc126c (diff)
downloadcrawl-ref-3ef70e6dea67553bc7f0748e57434b8fa8dc82cf.tar.gz
crawl-ref-3ef70e6dea67553bc7f0748e57434b8fa8dc82cf.zip
Use monsters::mindex() in a few more places.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9314 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/spl-mis.cc')
-rw-r--r--crawl-ref/source/spl-mis.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spl-mis.cc b/crawl-ref/source/spl-mis.cc
index 76d2dd8850..63d467ee87 100644
--- a/crawl-ref/source/spl-mis.cc
+++ b/crawl-ref/source/spl-mis.cc
@@ -705,7 +705,7 @@ bool MiscastEffect::_create_monster(monster_type what, int abj_deg,
}
if (alert)
- data.foe = monster_index(mon_target);
+ data.foe = mon_target->mindex();
// No permanent allies from miscasts.
if (data.behaviour == BEH_FRIENDLY && abj_deg == 0)