Merge pull request #8134 from GinjaNinja32/patch-1

Fixes runtime when walking over shards with no shoes
This commit is contained in:
Chinsky
2015-02-15 02:40:33 +03:00
+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)
..()