forked from mirrors/0ad
73f7884b4a
When merging twin formations, the calls to AddMembers() and RemoveMembers() got inverted. RemoveMembers() calls UnsetFormationController() on each member, which overwrites the formation controller reference just set by AddMembers() to INVALID_ENTITY.