summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/monstuff.cc
diff options
context:
space:
mode:
authorzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-22 03:48:27 +0000
committerzelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573>2008-11-22 03:48:27 +0000
commitf119c29736878ef93deed692013d3c974831b038 (patch)
treea977f1bbd15465bbfeeed866dfc3b83078a0792a /crawl-ref/source/monstuff.cc
parent21243c536b155025edacec7fb43b563c724cbd0a (diff)
downloadcrawl-ref-f119c29736878ef93deed692013d3c974831b038.tar.gz
crawl-ref-f119c29736878ef93deed692013d3c974831b038.zip
Fix bug 2298697: for dealing with weapons of returning which fail to return,
mons_throw() should have been using the mslot of the weapon, not weapon's mitm index. Introduces the new functions get_mon_equip_slot() and item_to_mslot(). git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7530 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/monstuff.cc')
0 files changed, 0 insertions, 0 deletions