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/godabil.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source/godabil.cc') diff --git a/crawl-ref/source/godabil.cc b/crawl-ref/source/godabil.cc index 69986ec4be..48876a0a2c 100644 --- a/crawl-ref/source/godabil.cc +++ b/crawl-ref/source/godabil.cc @@ -290,7 +290,7 @@ void yred_make_enslaved_soul(monsters *mon, bool force_hostile, mon->base_monster = soul_type; // Re-equip the spectral thing. - equip_undead(mon->pos(), corps, monster_index(mon), + equip_undead(mon->pos(), corps, mon->mindex(), mon->base_monster); // Destroy the monster's corpse, as it's no longer needed. -- cgit v1.2.3-54-g00ecf