Merge pull request #7134 from Segrain/dev

Bugfix.
This commit is contained in:
PsiOmegaDelta
2014-11-26 14:10:03 +01:00

View File

@@ -313,10 +313,10 @@
src << "\red You are trying to eqip this item to an unsupported inventory slot. How the heck did you manage that? Stop it..."
return
if(W == src.l_hand)
if((W == src.l_hand) && (slot != slot_l_hand))
src.l_hand = null
update_inv_l_hand() //So items actually disappear from hands.
else if(W == src.r_hand)
else if((W == src.r_hand) && (slot != slot_r_hand))
src.r_hand = null
update_inv_r_hand()