fix infantry without idle anim staying in fire animation state

closes #5884
This commit is contained in:
Matthias Mailänder
2014-08-24 11:53:19 +02:00
parent 52de40f252
commit 1c65b29a30

View File

@@ -149,6 +149,11 @@ namespace OpenRA.Mods.RA.Render
});
}
}
else
{
DefaultAnimation.PlayRepeating(NormalizeInfantrySequence(self, info.StandAnimations.Random(Game.CosmeticRandom)));
state = AnimationState.Waiting;
}
}
// TODO: Possibly move this into a separate trait