summaryrefslogtreecommitdiff
path: root/src/group.h
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-04-21 22:25:54 +0100
committerPeterN <peter@fuzzle.org>2019-04-29 17:40:22 +0100
commit69a6c494bfb81e332e63376f4577a104a5a8e679 (patch)
treecd34f49260fc2ac6cd825082f8d34f37e2e21f76 /src/group.h
parent96a47877104d99e117b9fd97e43908f9e9567ec5 (diff)
downloadopenttd-69a6c494bfb81e332e63376f4577a104a5a8e679.tar.xz
Codechange: Set VehicleType's base type to byte instead of using VehicleTypeByte
Diffstat (limited to 'src/group.h')
-rw-r--r--src/group.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/group.h b/src/group.h
index 4c51e6ebd..6672cff67 100644
--- a/src/group.h
+++ b/src/group.h
@@ -65,17 +65,17 @@ struct GroupStatistics {
/** Group data. */
struct Group : GroupPool::PoolItem<&_group_pool> {
- char *name; ///< Group Name
- OwnerByte owner; ///< Group Owner
- VehicleTypeByte vehicle_type; ///< Vehicle type of the group
+ char *name; ///< Group Name
+ OwnerByte owner; ///< Group Owner
+ VehicleType vehicle_type; ///< Vehicle type of the group
- bool replace_protection; ///< If set to true, the global autoreplace have no effect on the group
- Livery livery; ///< Custom colour scheme for vehicles in this group
- GroupStatistics statistics; ///< NOSAVE: Statistics and caches on the vehicles in the group.
+ bool replace_protection; ///< If set to true, the global autoreplace have no effect on the group
+ Livery livery; ///< Custom colour scheme for vehicles in this group
+ GroupStatistics statistics; ///< NOSAVE: Statistics and caches on the vehicles in the group.
- bool folded; ///< NOSAVE: Is this group folded in the group view?
+ bool folded; ///< NOSAVE: Is this group folded in the group view?
- GroupID parent; ///< Parent group
+ GroupID parent; ///< Parent group
Group(CompanyID owner = INVALID_COMPANY);
~Group();