0ad/source
Lancelot de Ferrière 5ca63d19b8
Avoid idle 'flicker' because of regular formation regroups
Since 71a61d5f50, formations regularly regroup. However, units already at their correct offset should remain idle. This doesn't happen as we cannot check if we are at destination.
This exposes that and handles things properly... Unfortunately UnitAI has already left the IDLE state at this point, so we still get counted as no-longer idle for a turn.
To fix this, try and detect that particular situation without triggering infinite loops.

(cherry picked from commit 2f7ac026c1)
Signed-off-by: Itms <itms@wildfiregames.com>
2025-01-03 22:49:34 +01:00
..
collada Update trac links with gitea links 2024-12-10 11:29:48 +01:00
graphics Mod Interface: Enable setting territory visibility 2025-01-01 22:20:03 +01:00
gui Upgrade SpiderMonkey to ESR 115 2024-12-09 10:46:12 +01:00
i18n Update trac links with gitea links 2024-12-10 11:29:48 +01:00
lib Bump release version to 0.27.0 2024-12-26 22:31:01 +01:00
lobby Allow to change a password from the lobby page 2024-12-08 17:13:47 +01:00
maths Update trac links with gitea links 2024-12-10 11:29:48 +01:00
mocks Revert non-ASCII characters from source and configuration files introduced in 157c6af18e. 2023-12-03 00:30:12 +00:00
network Multicast chat messages 2024-12-28 11:29:08 +01:00
pch Remove glooxwrapper 2024-11-25 20:01:00 +01:00
ps Add a deprecation warning for using GetFileMTime() 2024-12-29 22:25:43 +01:00
renderer Fixes Vulkan device selection. 2024-12-16 23:18:20 +01:00
rlinterface Shutdown mongoose in rl-interface gracefully 2024-06-23 17:26:03 +00:00
scriptinterface Remove check for SpiderMonkey minor version 2024-12-09 10:46:14 +01:00
simulation2 Avoid idle 'flicker' because of regular formation regroups 2025-01-03 22:49:34 +01:00
soundmanager Skip playing audio of corrupted files. 2024-12-26 22:33:19 +01:00
third_party Ignore cast warning in mongoose 2024-12-05 09:51:27 +01:00
tools Adapt bundles pipeline to the git environment 2024-12-21 23:03:25 +01:00
main.cpp Catch all std::exception when loading a map 2025-01-01 22:23:38 +01:00
test_setup.cpp Make the TaskManager a automatic livetime object 2024-11-17 18:03:49 +01:00