Improved cnc proc/harv docking.

This commit is contained in:
Paul Chote
2011-01-02 14:34:55 +13:00
parent 9ffdce7957
commit 3674accd0c
6 changed files with 195 additions and 50 deletions

View File

@@ -90,6 +90,11 @@ namespace OpenRA.Mods.RA.Render
() => { anim.PlayRepeating(NormalizeSequence(self, "idle")); a(); });
}
public void CancelCustomAnim(Actor self)
{
anim.PlayRepeating( NormalizeSequence(self, "idle") );
}
public virtual void Damaged(Actor self, AttackInfo e)
{
if (!e.DamageStateChanged)