Rename ExtendedDamageState -> DamageState

This commit is contained in:
Paul Chote
2010-07-30 21:40:40 +12:00
parent 028c5b5201
commit 1459ec483c
31 changed files with 70 additions and 70 deletions

View File

@@ -24,7 +24,7 @@ namespace OpenRA.Mods.RA.Activities
{
if (target == null || target.IsDead()) return NextActivity;
var health = target.traits.Get<Health>();
if (health.ExtendedDamageState == ExtendedDamageState.Undamaged)
if (health.DamageState == DamageState.Undamaged)
return NextActivity;
target.InflictDamage(self, -health.MaxHP, null);