bandage to fix dogs not killing infantry in certain cases
This commit is contained in:
committed by
Chris Forbes
parent
e39917ca19
commit
a065fb464e
4
OpenRA.Game/Traits/Health.cs
Normal file → Executable file
4
OpenRA.Game/Traits/Health.cs
Normal file → Executable 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user