exposed GetDamageState(); fixed TSLA anim to use it

This commit is contained in:
Chris Forbes
2009-12-31 13:11:00 +13:00
parent b1f7aea1ca
commit c11c4eb4a0
4 changed files with 5 additions and 8 deletions

View File

@@ -119,7 +119,7 @@ namespace OpenRa.Game
public bool IsDead { get { return Health <= 0; } }
DamageState GetDamageState()
public DamageState GetDamageState()
{
if (Health <= 0) return DamageState.Dead;
var halfStrength = Info.Strength * Rules.General.ConditionYellow;