From 6963b000a2dc694900f9eb3252ef5363ce8ddf92 Mon Sep 17 00:00:00 2001 From: Vsevolod Kozlov Date: Fri, 13 Nov 2009 16:27:50 +0300 Subject: Replace monster_index with monsters::mindex. --- crawl-ref/source/spells3.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/spells3.cc') 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())) -- cgit v1.2.3-54-g00ecf