Fixes splinting and broken limb dropping

Splints will now work again, on arms/hands/legs/feet, and health
analyzers will warn about unsplinted limbs. Having a broken left arm
will no longer cause you to drop what's in your right hand.
This commit is contained in:
Krausus
2015-05-18 05:59:31 -04:00
parent fc4863f97c
commit 13cac3571e
3 changed files with 7 additions and 7 deletions
@@ -109,7 +109,7 @@
continue
if(E.is_broken())
if(E.body_part == HAND_LEFT)
if((E.body_part == HAND_LEFT) || (E.body_part == ARM_LEFT))
if(!l_hand)
continue
unEquip(l_hand)
@@ -123,7 +123,7 @@
else if(E.is_malfunctioning())
if(E.body_part == HAND_LEFT)
if((E.body_part == HAND_LEFT) || (E.body_part == ARM_LEFT))
unEquip(l_hand)
else
unEquip(r_hand)