Merge pull request #10211 from abcdefg30/damagedAfld

Fix the idle animation of the hostBuilding in Rearm.cs
This commit is contained in:
Matthias Mailänder
2015-12-13 20:43:29 +01:00

View File

@@ -59,7 +59,7 @@ namespace OpenRA.Mods.Common.Activities
var wsb = hostBuilding.Trait<WithSpriteBody>();
if (wsb.DefaultAnimation.HasSequence("active"))
wsb.PlayCustomAnimation(hostBuilding, "active", () => wsb.CancelCustomAnimation(self));
wsb.PlayCustomAnimation(hostBuilding, "active", () => wsb.CancelCustomAnimation(hostBuilding));
var sound = pool.Info.RearmSound;
if (sound != null)