From e2122dc7f0e02e50ff2e17ae2d3a164671aa0975 Mon Sep 17 00:00:00 2001 From: yexo Date: Wed, 9 Sep 2009 00:03:35 +0000 Subject: (svn r17483) -Fix (r17405): when an aircraft starts flying in circles make it turn in the correct direction first before continuing --- src/saveload/vehicle_sl.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/saveload') diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp index 81260ca62..f50266d25 100644 --- a/src/saveload/vehicle_sl.cpp +++ b/src/saveload/vehicle_sl.cpp @@ -592,9 +592,10 @@ const SaveLoad *GetVehicleDescription(VehicleType vt) SLE_CONDVAR(Aircraft, previous_pos, SLE_UINT8, 2, SL_MAX_VERSION), SLE_CONDVAR(Aircraft, last_direction, SLE_UINT8, 2, SL_MAX_VERSION), + SLE_CONDVAR(Aircraft, number_consecutive_turns, SLE_UINT8, 2, SL_MAX_VERSION), - /* reserve extra space in savegame here. (currently 14 bytes) */ - SLE_CONDNULL(14, 2, SL_MAX_VERSION), + /* reserve extra space in savegame here. (currently 13 bytes) */ + SLE_CONDNULL(13, 2, SL_MAX_VERSION), SLE_END() }; -- cgit v1.2.3-70-g09d2