| 2131 | |
| 2132 | AIUnit* unit = nullptr; |
| 2133 | for (int i = 0; i < MAX_UNITS_PER_GROUP; i++) |
| 2134 | { |
| 2135 | AIUnit* u = GetSelectedUnit(i); |
| 2136 | if (u) |
| 2137 | { |
| 2138 | unit = u; |
| 2139 | break; |
| 2140 | } |
| 2141 | } |
| 2142 | if (!unit) |
| 2143 | { |
| 2144 | return; |
nothing calls this directly
no test coverage detected