bandage to fix dogs not killing infantry in certain cases

This commit is contained in:
Caleb Anderson
2010-10-08 01:11:11 -05:00
committed by Chris Forbes
parent e39917ca19
commit a065fb464e

4
OpenRA.Game/Traits/Health.cs Normal file → Executable file
View File

@@ -163,7 +163,9 @@ namespace OpenRA.Traits
{
var health = self.TraitOrDefault<Health>();
if (health == null) return;
health.InflictDamage(self, attacker, health.HP, null);
/* hack. Fix for proper */
health.InflictDamage(self, attacker, int.MaxValue, null);
}
}
}