changeset 9700 | 21cd67d8868f |
parent 9070 | dd0121143eba |
child 9914 | c07d0352d8d5 |
9699:33ebfa8216ca | 9700:21cd67d8868f |
---|---|
49 |
49 |
50 |
50 |
51 Group::Group(PlayerID owner) |
51 Group::Group(PlayerID owner) |
52 { |
52 { |
53 this->owner = owner; |
53 this->owner = owner; |
54 this->num_engines = CallocT<uint16>(GetEnginePoolSize()); |
54 |
55 if (this->IsValid()) this->num_engines = CallocT<uint16>(GetEnginePoolSize()); |
|
55 } |
56 } |
56 |
57 |
57 Group::~Group() |
58 Group::~Group() |
58 { |
59 { |
59 free(this->name); |
60 free(this->name); |