Allow garrisoned entities to transform into one that cannot garrison.
Currently, when an entity that is garrisoned transforms (upgrades/promotes) into an entity that cannot garrison the formerly garrisoned holder, several things go wrong.
The garrison flag is not updated (should be done in eject, not perform eject. (Simple) (Phab:D3628)
- The entity that was transformed disappears. This is because first the position of the transforming entity is used to set on the newly created entity -- Garrisoned, thus out of world. Only thereafter a message is sent to the GarrisonHolder to ungarrison (the transforming entity gets ejected and thus receives a position InWorld) and to garrison the new entity if possible (which it is not). Hence the new entity has a position out of world and can thus neither be selected nor seen by the player. (Phab:D3650)
Change History
(8)
Description: |
modified (diff)
|
Milestone: |
Backlog → Alpha 25
|
Owner: |
set to Freagarach
|
Milestone: |
Alpha 25 → Alpha 26
|
Owner: |
Freagarach removed
|
Owner: |
set to Freagarach
|
Patch: |
→ Phab:D3650, Phab:D3628
|
Milestone: |
Alpha 26 → Alpha 27
|
Milestone: |
Alpha 27 → Backlog
|
In 24977: