summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2012-02-14 17:04:06 +0000
committermichi_cc <michi_cc@openttd.org>2012-02-14 17:04:06 +0000
commitf2c694c8fbfb775dc239ab1c6447d3744d1c84c7 (patch)
treeaf7e8b3e3689ad2e9e0db8ef56a8c7ea7521b373 /src/saveload
parent347157cb8ce016428275d6143b555de1dc802133 (diff)
downloadopenttd-f2c694c8fbfb775dc239ab1c6447d3744d1c84c7.tar.xz
(svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles.
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/order_sl.cpp1
-rw-r--r--src/saveload/saveload.cpp3
2 files changed, 3 insertions, 1 deletions
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