mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
5d96346ac5
Following847f3a9995, Units in formation can get very small movement offsets, that nonetheless require large rotations, and thus at least 2 turns to accomplish. However, following847f3a9995, PossiblyAtDestination fires() only after the first rotation, so the unit ends up 'waltzing' in place. Before that diff, the unit never even moved since PossiblyAtDestination fired straight away. This is also noticeable since IDLE formation re-order their members since71a61d5f50. The fix here is to ignore rotation time for very small offsets, which lets units accomplish the movement in one turn and fixes the issue. Reported by: wowgetoffyourcellphone Reviewed By: Freagarach Tested By: langbart Differential Revision: https://code.wildfiregames.com/D3518 This was SVN commit r24831.