Remove check for full health for negative damage warheads

This commit is contained in:
Mustafa Alperen Seki
2018-10-29 12:48:12 +03:00
committed by reaperrr
parent 99de33bbe3
commit 6a599e57f6
4 changed files with 72 additions and 3 deletions

View File

@@ -34,9 +34,6 @@ namespace OpenRA.Mods.Common.Warheads
if (!victim.Info.HasTraitInfo<IHealthInfo>())
return false;
if (Damage < 0 && victim.GetDamageState() == DamageState.Undamaged)
return false;
return base.IsValidAgainst(victim, firedBy);
}