(d837f5034) Fixed wall damage not being visible due to e695ea7

This commit is contained in:
Joonas Rikkonen
2019-05-03 13:55:23 +03:00
parent 2c3d33e3d5
commit bcfd8d6da8
4 changed files with 113 additions and 239 deletions
@@ -118,7 +118,7 @@ namespace Barotrauma
{
get
{
return Sprite == null || SpriteDepth <= 0.5f;
return (Sprite == null || SpriteDepth <= 0.5f) && !DrawDamageEffect;
}
}