0ad/source/simulation2
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
..
components Fix formation reshuffling after entity rename 2026-02-04 11:05:07 +01:00
docs Remove UNUSED 2025-06-26 17:25:05 +02:00
helpers Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
scripting Fix formation reshuffling after entity rename 2026-02-04 11:05:07 +01:00
serialization Remove ScriptTypes and ScriptExtraHeaders headers 2025-09-14 13:17:18 +02:00
system Remove g_GUI usage in simulation2/* 2026-01-23 21:05:18 +01:00
tests Remove LoadScripts from CSimualation2 2026-01-01 17:27:54 +01:00
MessageTypes.h Fix includes in source/simulation2 2025-08-08 07:10:11 +02:00
Simulation2.cpp Remove LoadScripts from CSimualation2 2026-01-01 17:27:54 +01:00
Simulation2.h Remove LoadScripts from CSimualation2 2026-01-01 17:27:54 +01:00
TypeList.h Store whether a player is activ in C++ 2025-01-05 19:57:12 +01:00