CleverRaven/Cataclysm-DDA — pull request #8134 by kevingranade (2014-07-04 21:43:10+00:00)
Title: Fix error where you can drop more items than you are carrying if you wield them.

As reported by BoneVomit on the forums: http://smf.cataclysmdda.com/index.php?topic=7080.0
Wielding an item with charges before dropping it would bypass the checks for dropping more charges of the item than you have. This prevents that from happening and unifies the logic somewhat.