summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
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