| 1531 | } |
| 1532 | |
| 1533 | void AIGroup::CargoGetOut() |
| 1534 | { |
| 1535 | for (int i = 0; i < MAX_UNITS_PER_GROUP; i++) |
| 1536 | { |
| 1537 | AIUnit* unit = _units[i]; |
| 1538 | if (unit && unit->IsInCargo()) |
| 1539 | { |
| 1540 | unit->AllowGetIn(false); |
| 1541 | } |
| 1542 | } |
| 1543 | } |
| 1544 | |
| 1545 | Target* AIGroup::FindTargetAll(TargetType* id) const |
| 1546 | { |
nothing calls this directly
no test coverage detected