| 664 | } |
| 665 | |
| 666 | void BuildGroupList(CompanyID owner) |
| 667 | { |
| 668 | if (!this->groups.NeedRebuild()) return; |
| 669 | |
| 670 | this->groups.clear(); |
| 671 | |
| 672 | if (this->livery_class >= LC_GROUP_RAIL) { |
| 673 | VehicleType vtype = (VehicleType)(this->livery_class - LC_GROUP_RAIL); |
| 674 | BuildGuiGroupList(this->groups, false, owner, vtype); |
| 675 | } |
| 676 | |
| 677 | this->groups.RebuildDone(); |
| 678 | } |
| 679 | |
| 680 | void SetRows() |
| 681 | { |
no test coverage detected