| 683 | } |
| 684 | |
| 685 | void AIGroup::SetUnit(int index, AIUnit* unit) |
| 686 | { |
| 687 | // low level function used for network transfer |
| 688 | // !!! avoid another using |
| 689 | _units[index] = unit; |
| 690 | InitUnitSlot(index); |
| 691 | } |
| 692 | |
| 693 | int AIGroup::NSoldiers() const |
| 694 | { |