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

Created by  zelgadis  on November 21, 2008
MFP3WAGO2JIOT4QSEYPM4OJV5NVXMUOPL75OIE7YZ5RWOYQPIZ7AC
Change contents