mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
0baafb5375
Entities with a production queue when queueing or unqueueing items for will set an appropriate animation which is desired for structures, like the forge producing smoke, but not so for units as it interferes with UnitAi animation state. Units don't have animations for training or researching so the idle animation will be set in that case instead. If such a unit is in motion this results in the unit gliding. To avoid this just skip setting an animation for entities having a UnitAI. Reported-by: wowgetoffyourcellphone Signed-off-by: Ralph Sennhauser <ralph.sennhauser@gmail.com>