summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/spells3.cc
diff options
context:
space:
mode:
authorVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-13 16:27:50 +0300
committerVsevolod Kozlov <zaba@thorium.homeunix.org>2009-11-13 16:28:55 +0300
commit6963b000a2dc694900f9eb3252ef5363ce8ddf92 (patch)
tree692c8dfbb0e6badf309ef9bd0e6ea15d8aa125d8 /crawl-ref/source/spells3.cc
parent227c580bbbbc698be1d90d9a808ce5fe9376acc3 (diff)
downloadcrawl-ref-6963b000a2dc694900f9eb3252ef5363ce8ddf92.tar.gz
crawl-ref-6963b000a2dc694900f9eb3252ef5363ce8ddf92.zip
Replace monster_index with monsters::mindex.
Diffstat (limited to 'crawl-ref/source/spells3.cc')
-rw-r--r--crawl-ref/source/spells3.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells3.cc b/crawl-ref/source/spells3.cc
index 17b33ead54..a14535c98f 100644
--- a/crawl-ref/source/spells3.cc
+++ b/crawl-ref/source/spells3.cc
@@ -1282,7 +1282,7 @@ bool cast_haunt(int pow, const coord_def& where, god_type god)
return (true);
}
- int mi = monster_index(m);
+ int mi = m->mindex();
ASSERT(!invalid_monster_index(mi));
if (stop_attack_prompt(m, false, you.pos()))