summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-mon.cc
diff options
context:
space:
mode:
authorNicholas Feinberg <pleasingfung@gmail.com>2014-07-04 17:24:47 -0700
committerNicholas Feinberg <pleasingfung@gmail.com>2014-07-04 17:24:47 -0700
commitb98b8932dcd445179cf0c0d235e91f6d1e577f92 (patch)
tree7e575ed8c1165244f653ebfc3545818634728403 /crawl-ref/source/wiz-mon.cc
parent018e8dee5c24d5aa14632fe9dad5295a7ee9c7f4 (diff)
downloadcrawl-ref-b98b8932dcd445179cf0c0d235e91f6d1e577f92.tar.gz
crawl-ref-b98b8932dcd445179cf0c0d235e91f6d1e577f92.zip
Refactor item pickup code
Diffstat (limited to 'crawl-ref/source/wiz-mon.cc')
-rw-r--r--crawl-ref/source/wiz-mon.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-mon.cc b/crawl-ref/source/wiz-mon.cc
index 51dd5b03c5..6517303dc4 100644
--- a/crawl-ref/source/wiz-mon.cc
+++ b/crawl-ref/source/wiz-mon.cc
@@ -1063,7 +1063,7 @@ void wizard_give_monster_item(monster* mon)
}
mitm[old_eq].pos.reset();
mitm[old_eq].link = NON_ITEM;
- move_item_to_player(old_eq, mitm[old_eq].quantity);
+ move_item_to_inv(old_eq, mitm[old_eq].quantity);
}
}