(svn r17483) -Fix (r17405): when an aircraft starts flying in circles make it turn in the correct direction first before continuing

This commit is contained in:
yexo
2009-09-09 00:03:35 +00:00
parent 4924e4ffba
commit e2122dc7f0
3 changed files with 12 additions and 4 deletions

View File

@@ -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()
};