fix IdleAnimation. add IsAttacking to AttackBase

This commit is contained in:
Bob
2010-09-22 12:21:49 +12:00
parent 694fb6831a
commit d8de477edb
5 changed files with 12 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ namespace OpenRA.Mods.RA
if (target != null)
attack.ResolveOrder(self, new Order("Attack", self, target));
else
if (self.GetCurrentActivity() is Attack)
if (attack.IsAttacking)
self.CancelActivity();
}