Should make unusable limbs treated as such.

This commit is contained in:
Chinsky
2013-06-09 16:51:07 +04:00
parent e74f52f86b
commit 300a73da71
2 changed files with 4 additions and 3 deletions
+1 -1
View File
@@ -114,7 +114,7 @@
del(spark_system)
else if(E.name in list("l_leg","l_foot","r_leg","r_foot") && !lying)
if (E.status & ORGAN_DESTROYED || malfunction || (broken && !(E.status & ORGAN_SPLINTED)))
if (!E.is_usable() || malfunction || (broken && !(E.status & ORGAN_SPLINTED)))
leg_tally-- // let it fail even if just foot&leg
// standing is poor