summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/godabil.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/godabil.cc
parent227c580bbbbc698be1d90d9a808ce5fe9376acc3 (diff)
downloadcrawl-ref-6963b000a2dc694900f9eb3252ef5363ce8ddf92.tar.gz
crawl-ref-6963b000a2dc694900f9eb3252ef5363ce8ddf92.zip
Replace monster_index with monsters::mindex.
Diffstat (limited to 'crawl-ref/source/godabil.cc')
-rw-r--r--crawl-ref/source/godabil.cc2
1 files changed, 1 insertions, 1 deletions
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.