summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2019-03-29 23:24:40 +0000
committerMichael Lutz <michi@icosahedron.de>2021-04-22 22:57:00 +0200
commit27a956ba6204e400e82fe10056bf730f286b23fe (patch)
tree7009ae20df0ecf558696f420e0ee6124774a5ba6 /src/saveload
parent37222c3fa2f558df5f7ef420ad583ba403ceda62 (diff)
downloadopenttd-27a956ba6204e400e82fe10056bf730f286b23fe.tar.xz
Codechange: Replace Group::replace_protection with Group::flags
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/group_sl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/group_sl.cpp b/src/saveload/group_sl.cpp
index cae313ff8..c5f7e2b50 100644
--- a/src/saveload/group_sl.cpp
+++ b/src/saveload/group_sl.cpp
@@ -21,7 +21,7 @@ static const SaveLoad _group_desc[] = {
SLE_CONDNULL(2, SL_MIN_VERSION, SLV_164), // num_vehicle
SLE_VAR(Group, owner, SLE_UINT8),
SLE_VAR(Group, vehicle_type, SLE_UINT8),
- SLE_VAR(Group, replace_protection, SLE_BOOL),
+ SLE_VAR(Group, flags, SLE_UINT8),
SLE_CONDVAR(Group, livery.in_use, SLE_UINT8, SLV_GROUP_LIVERIES, SL_MAX_VERSION),
SLE_CONDVAR(Group, livery.colour1, SLE_UINT8, SLV_GROUP_LIVERIES, SL_MAX_VERSION),
SLE_CONDVAR(Group, livery.colour2, SLE_UINT8, SLV_GROUP_LIVERIES, SL_MAX_VERSION),