summaryrefslogtreecommitdiff
path: root/src/saveload
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2009-09-09 00:03:35 +0000
committeryexo <yexo@openttd.org>2009-09-09 00:03:35 +0000
commite2122dc7f0e02e50ff2e17ae2d3a164671aa0975 (patch)
tree93ad200736bf53ed27b160b07de3798386983448 /src/saveload
parent4924e4ffba7a956641272e2408f27cfb5b023d2a (diff)
downloadopenttd-e2122dc7f0e02e50ff2e17ae2d3a164671aa0975.tar.xz
(svn r17483) -Fix (r17405): when an aircraft starts flying in circles make it turn in the correct direction first before continuing
Diffstat (limited to 'src/saveload')
-rw-r--r--src/saveload/vehicle_sl.cpp5
1 files changed, 3 insertions, 2 deletions
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()
};