summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/debug.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/debug.cc')
-rw-r--r--crawl-ref/source/debug.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/debug.cc b/crawl-ref/source/debug.cc
index 530ed34686..271ebab5e7 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -3557,7 +3557,7 @@ void debug_apply_monster_blessing(monsters* mon)
else
god = GOD_SHINING_ONE;
- if (!bless_follower(mon, god, _force_suitable, true))
+ if (!bless_follower(monster_index(mon), god, _force_suitable, true))
mprf("%s won't bless this monster for you!", god_name(god).c_str());
}
#endif