As reported by Freagarach, units can end up showing the moving animation while being in idle state:
I suppose the following happens:
A unit moves and needs a big turn, hence the speed goes to zero, but it still had some meanspeed, so the walking anim shows. Now the next turn the unit decided to quit moving (due to be obstructed and close enough to target). Now the meanspeed will never be updated, so the unit will keep showing the walking anim.
Simply also trow a needsupdate when we have moved last turn.
Broken in rP25953.
Reported By Freagarach.