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

@@ -78,7 +78,7 @@ namespace OpenRA.Traits
public void Damaged(Actor self, AttackInfo e)
{
if (e.ExtendedDamageState == ExtendedDamageState.Dead)
if (e.DamageState == DamageState.Dead)
{
self.World.WorldActor.traits.Get<ScreenShaker>().AddEffect(10, self.CenterLocation, 1);
Sound.Play(Info.DestroyedSound, self.CenterLocation);