Fixes runtime when walking over shards with no shoes

This commit is contained in:
GinjaNinja32
2015-02-14 23:29:11 +00:00
parent b134a3a34b
commit dafcc2a374
+1 -1
View File
@@ -86,7 +86,7 @@
if(affecting.take_damage(5, 0))
H.UpdateDamageIcon()
H.updatehealth()
if(!(H.species & NO_PAIN))
if(!(H.species && (H.species.flags & NO_PAIN)))
H.Weaken(3)
..()