Comment 0 for bug 896238

Revision history for this message
AlexB (alexander-b) wrote :

Two functions collecting units were not coded properly. The order of units might vary, depending on the memory addressed the units are saved at (i.e. randomly for the naked eye).

To find out which units are affected the functions are used by the following logics:
- Iron Curtain warheads and Generic Warhead SW
- EMP warheads and Generic Warhead SW
- Chronosphere SW
- Genetic Mutator SW (with Mutate.Explosion=no only)
- Psychic Dominator SW (with Dominator.Capture=yes only)
- IronCurtain/ForceShied SW
- Sonar SW (not in full map reveal mode)

All those logics might be affected. If more than one unit collected, the randomization might happen.

I tested with the Chronosphere. It happens quite frequently by shifting buildings with a large radius.

##### STEPS TO REPRODUCE #####
Fire any warhead or use any SW mentioned above in a network or internet game. The larger the effect radius (CellSpread, SW.Range), the more likely the order is randomized.

##### ADDITIONAL INFORMATION #####
This is planned to be an umbrella issue for the reported REs as of yet, as well as a place to report what the fix might break.