HomeWildfire Games

Fix (de)selection functions.

Description

Fix (de)selection functions.

Deselecting a part of a formation didn't deselect the whole formation, since the logic was done quite weirdly.
This clarifies and fixes that.

Reported by: @Langbart on D4282.
Differential revision: https://code.wildfiregames.com/D4285
Comments by: @Angen, @Langbart
Tested by: @Langbart