0ad/source
Atrik 99e3799883 Fix formation reshuffling after entity rename
When entities in formations were renamed (e.g., during promotion),
the formation would immediately recalculate all member positions,
and queue movement orders causing visible shuffling.

Changes:
1. Transfer existing offsets movement to the renamed entity
   to maintain current formation structure
2. Schedule offset recalculation for the next tick to allow proper
   reordering after all systems have updated

This preserves formation integrity during renames while allowing
eventual optimal position recalculation.

Fixes #8656
2026-02-04 11:05:07 +01:00
..
collada Fix some includes all over the place 2025-08-14 20:15:30 +02:00
dapinterface Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
graphics Fixes compilation after #8621 2026-01-25 16:29:16 +01:00
gui Revert temporary workarounds for font baseline issues 2026-01-29 19:05:34 +01:00
i18n Reduces boost usage for strings 2025-10-16 09:17:05 +02:00
lib Use cpp-httplib instead of mongoose 2026-01-24 10:45:48 +01:00
lobby Workaround renamed property in gamereport 2026-01-26 08:57:42 +01:00
maths Reduces string allocations in GUI and maths. 2025-10-11 19:44:22 +02:00
mocks Fix some includes all over the place 2025-08-13 19:38:21 +02:00
network Remove ScriptContext::CreateContext 2026-01-24 12:03:05 +01:00
pch Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
ps Readd JS API function Engine.Exit() 2026-01-29 20:03:56 +01:00
renderer Fixes compilation after #8621 2026-01-25 16:29:16 +01:00
rlinterface Use cpp-httplib instead of mongoose 2026-01-24 10:45:48 +01:00
scriptinterface Remove ScriptContext::CreateContext 2026-01-24 12:03:05 +01:00
simulation2 Fix formation reshuffling after entity rename 2026-02-04 11:05:07 +01:00
soundmanager SoundManager: reintroduce manual memory management 2025-10-13 20:42:32 +02:00
third_party Remove mongoose 2026-01-24 10:45:48 +01:00
tools Fixes compilation after #8621 2026-01-25 16:29:16 +01:00
CxxTestRunner.tpl Use return instead of exit in testrunner 2025-10-15 18:17:24 +02:00
main.cpp Readd JS API function Engine.Exit() 2026-01-29 20:03:56 +01:00
test_setup.cpp Remove ScriptContext::CreateContext 2026-01-24 12:03:05 +01:00