From a065fb464e6862d9f8700f49908d8e654e39cb35 Mon Sep 17 00:00:00 2001 From: Caleb Anderson Date: Fri, 8 Oct 2010 01:11:11 -0500 Subject: [PATCH] bandage to fix dogs not killing infantry in certain cases --- OpenRA.Game/Traits/Health.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) mode change 100644 => 100755 OpenRA.Game/Traits/Health.cs diff --git a/OpenRA.Game/Traits/Health.cs b/OpenRA.Game/Traits/Health.cs old mode 100644 new mode 100755 index 1954067d1c..f40282cb8b --- a/OpenRA.Game/Traits/Health.cs +++ b/OpenRA.Game/Traits/Health.cs @@ -163,7 +163,9 @@ namespace OpenRA.Traits { var health = self.TraitOrDefault(); if (health == null) return; - health.InflictDamage(self, attacker, health.HP, null); + + /* hack. Fix for proper */ + health.InflictDamage(self, attacker, int.MaxValue, null); } } }