summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authorterkhen <terkhen@openttd.org>2010-03-06 12:54:42 +0000
committerterkhen <terkhen@openttd.org>2010-03-06 12:54:42 +0000
commit06a3faa651f71f46961777970e500ed54c48be62 (patch)
tree5e7b27ca79cc85fefb8a52e44fdba934b1bdd362 /src/saveload
parenta5f9a7c1a5fc09b6e996bd5448c94df2ab24b272 (diff)
downloadopenttd-06a3faa651f71f46961777970e500ed54c48be62.tar.xz
(svn r19343) -Codechange: Make RoadVehicle a child class of GroundVehicle.
-Add: Required acceleration functions at RoadVehicle.
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/vehicle_sl.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp
index 15782f524..5c02573c1 100644
--- a/src/saveload/vehicle_sl.cpp
+++ b/src/saveload/vehicle_sl.cpp
@@ -563,6 +563,7 @@ const SaveLoad *GetVehicleDescription(VehicleType vt)
SLE_VAR(RoadVehicle, reverse_ctr, SLE_UINT8),
SLE_CONDNULL(2, 6, 68),
+ SLE_CONDVAR(RoadVehicle, gv_flags, SLE_UINT16, 139, SL_MAX_VERSION),
SLE_CONDNULL(4, 69, 130),
SLE_CONDNULL(2, 6, 130),
/* reserve extra space in savegame here. (currently 16 bytes) */