HomeWildfire Games

Check for cmpUnitAI when extracting formations.

Description

Check for cmpUnitAI when extracting formations.

r24480 / rP24480 Changed the way to get formation UnitAIs, but didn't account for selecting entities with and without UnitAI.
This fixes that.

Differential revision: D3333
Reviewed by: @wraitii
Comments by: @Angen, @Stan