Implement INotifyDamageStateChanged explicitly in WithSpriteBody

This commit is contained in:
reaperrr
2016-10-20 21:23:41 +02:00
parent a6b09342bc
commit 7955aeb1c3
4 changed files with 10 additions and 5 deletions

View File

@@ -101,7 +101,7 @@ namespace OpenRA.Mods.Common.Traits.Render
wallInfo = info;
}
public override void DamageStateChanged(Actor self, AttackInfo e)
protected override void DamageStateChanged(Actor self)
{
DefaultAnimation.PlayFetchIndex(NormalizeSequence(self, Info.Sequence), () => adjacent);
}