| 2286 | ClearSelectedUnits(); |
| 2287 | } |
| 2288 | |
| 2289 | void InGameUI::SendFireReady(AIUnit* unit, bool ready) |
| 2290 | { |
| 2291 | if (!unit) |
| 2292 | { |
| 2293 | return; |
| 2294 | } |
| 2295 | AIGroup* grp = unit->GetGroup(); |
| 2296 | if (!grp) |
| 2297 | { |
| 2298 | return; |
| 2299 | } |
| 2300 | grp->ReportFire(unit, ready); |
| 2301 | } |
| 2302 | |
| 2303 | void InGameUI::SendAnswer(AIUnit* unit, AI::Answer answer) |
| 2304 | { |
| 2305 | AIGroup* grp = unit->GetGroup(); |
| 2306 | if (!grp) |
nothing calls this directly
no test coverage detected