Change DamageState names

This commit is contained in:
Paul Chote
2010-07-30 21:46:41 +12:00
parent 1459ec483c
commit 4cf0610fd9
9 changed files with 21 additions and 21 deletions

View File

@@ -168,7 +168,7 @@ namespace OpenRA.Mods.RA
}
var ds = Health.DamageState;
currentTemplate = (ds == DamageState.Half && Info.DamagedTemplate > 0) ? Info.DamagedTemplate :
currentTemplate = (ds == DamageState.Heavy && Info.DamagedTemplate > 0) ? Info.DamagedTemplate :
(ds == DamageState.Dead && Info.DestroyedTemplate > 0) ? Info.DestroyedTemplate : Info.Template;
if (Info.Long && ds == DamageState.Dead)