| 1282 | IssueCommand(cmd, list); |
| 1283 | } |
| 1284 | void AIGroup::NotifyAutoCommand(Command& cmd, AIUnit* unit) |
| 1285 | { |
| 1286 | // unit is not able to issue any commands when it is not alive |
| 1287 | if (unit->GetLifeState() != AIUnit::LSAlive) |
| 1288 | { |
| 1289 | return; |
| 1290 | } |
| 1291 | IssueAutoCommand(cmd, unit); |
| 1292 | GetRadio().Transmit(new RadioMessageNotifyCommand(unit, this, cmd), GetCenter()->GetLanguage()); |
| 1293 | } |
| 1294 | |
| 1295 | void AIGroup::ReceiveUnitStatus(AIUnit* unit, Answer answer) |
| 1296 | { |
no test coverage detected