Changeset - r19102:2779756bf56b
[Not reviewed]
master
0 2 0
michi_cc - 13 years ago 2012-02-21 17:25:17
michi_cc@openttd.org
(svn r23973) -Fix (r23947): Also save the maximum travel speed for the current vehicle order.
2 files changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/saveload/saveload.cpp
Show inline comments
 
@@ -236,9 +236,10 @@
 
 *  170   23826
 
 *  171   23835
 
 *  172   23947
 
 *  173   23967   1.2.x
 
 *  173   23967   1.2.0-RC1
 
 *  174   23973   1.2.x
 
 */
 
extern const uint16 SAVEGAME_VERSION = 173; ///< Current savegame version of OpenTTD.
 
extern const uint16 SAVEGAME_VERSION = 174; ///< Current savegame version of OpenTTD.
 

	
 
SavegameType _savegame_type; ///< type of savegame we are loading
 

	
src/saveload/vehicle_sl.cpp
Show inline comments
 
@@ -628,6 +628,7 @@ const SaveLoad *GetVehicleDescription(Ve
 
		/* Timetable in current order */
 
		 SLE_CONDVAR(Vehicle, current_order.wait_time,     SLE_UINT16,            67, SL_MAX_VERSION),
 
		 SLE_CONDVAR(Vehicle, current_order.travel_time,   SLE_UINT16,            67, SL_MAX_VERSION),
 
		 SLE_CONDVAR(Vehicle, current_order.max_speed,     SLE_UINT16,           174, SL_MAX_VERSION),
 
		 SLE_CONDVAR(Vehicle, timetable_start,       SLE_INT32,                  129, SL_MAX_VERSION),
 

	
 
		 SLE_CONDREF(Vehicle, orders,                REF_ORDER,                    0, 104),
0 comments (0 inline, 0 general)