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 0af84dd7cf..56042924fc 100644
--- a/crawl-ref/source/debug.cc
+++ b/crawl-ref/source/debug.cc
@@ -4012,7 +4012,7 @@ void wizard_apply_monster_blessing(monsters* mon)
#ifdef WIZARD
void wizard_give_monster_item(monsters *mon)
{
- mon_itemuse_type item_use = mons_itemuse( mon->type );
+ mon_itemuse_type item_use = mons_itemuse(mon);
if (item_use < MONUSE_STARTING_EQUIPMENT)
{
mpr("That type of monster can't use any items.");