From f2c694c8fbfb775dc239ab1c6447d3744d1c84c7 Mon Sep 17 00:00:00 2001 From: michi_cc Date: Tue, 14 Feb 2012 17:04:06 +0000 Subject: (svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles. --- src/saveload/order_sl.cpp | 1 + src/saveload/saveload.cpp | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'src/saveload') diff --git a/src/saveload/order_sl.cpp b/src/saveload/order_sl.cpp index e60c35d8d..0437a2d7a 100644 --- a/src/saveload/order_sl.cpp +++ b/src/saveload/order_sl.cpp @@ -110,6 +110,7 @@ const SaveLoad *GetOrderDescription() SLE_CONDVAR(Order, refit_subtype, SLE_UINT8, 36, SL_MAX_VERSION), SLE_CONDVAR(Order, wait_time, SLE_UINT16, 67, SL_MAX_VERSION), SLE_CONDVAR(Order, travel_time, SLE_UINT16, 67, SL_MAX_VERSION), + SLE_CONDVAR(Order, max_speed, SLE_UINT16, 172, SL_MAX_VERSION), /* Leftover from the minor savegame version stuff * We will never use those free bytes, but we have to keep this line to allow loading of old savegames */ diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp index eb9c38a28..f768ce685 100644 --- a/src/saveload/saveload.cpp +++ b/src/saveload/saveload.cpp @@ -235,8 +235,9 @@ * 169 23816 * 170 23826 * 171 23835 + * 172 23947 */ -extern const uint16 SAVEGAME_VERSION = 171; ///< Current savegame version of OpenTTD. +extern const uint16 SAVEGAME_VERSION = 172; ///< Current savegame version of OpenTTD. SavegameType _savegame_type; ///< type of savegame we are loading -- cgit v1.2.3-70-g09d2