HomeWildfire Games

Change gathering rally points to use gather nstead of gather-near-position when…

Description

Change gathering rally points to use gather nstead of gather-near-position when possible.

This makes rallypoint flags nicer and is generally more efficient for unitAI too.
The behaviour falls back to gathering near position for any entity with a "speed" component, which is set by GuiInterface depending on having UnitMotion. This thus assumes entities without UnitMotion do not move. However, Gather falls back to gather near position in case of failure, so it ought to be fine in general.

Reviewed By: wraitii

Patch By: temple

Differential Revision: https://code.wildfiregames.com/D1014

Details