No longer drop bodyparts still in use

This commit is contained in:
Crazylemon64
2016-07-22 16:54:08 -07:00
parent c2092ac2d0
commit ca20966b96
3 changed files with 11 additions and 6 deletions
+1 -1
View File
@@ -110,7 +110,7 @@
if(!I) //If there's nothing to drop, the drop is automatically succesfull. If(unEquip) should generally be used to check for NODROP.
return 1
if((I.flags & NODROP) && !force)
if(!canUnEquip(I, force))
return 0
if(I == r_hand)