diff options
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/saveload.cpp | 3 | ||||
-rw-r--r-- | src/saveload/vehicle_sl.cpp | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp index b6eaf662c..55fabe77b 100644 --- a/src/saveload/saveload.cpp +++ b/src/saveload/saveload.cpp @@ -231,8 +231,9 @@ * 164 23290 * 165 23304 * 166 23415 + * 167 23504 */ -extern const uint16 SAVEGAME_VERSION = 166; ///< Current savegame version of OpenTTD. +extern const uint16 SAVEGAME_VERSION = 167; ///< Current savegame version of OpenTTD. SavegameType _savegame_type; ///< type of savegame we are loading diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp index 1e47094eb..9c8f25800 100644 --- a/src/saveload/vehicle_sl.cpp +++ b/src/saveload/vehicle_sl.cpp @@ -434,7 +434,7 @@ void AfterLoadVehicles(bool part_of_load) rotor->cur_image = GetRotorImage(Aircraft::From(v), EIT_ON_MAP); } - UpdateAircraftCache(Aircraft::From(v)); + UpdateAircraftCache(Aircraft::From(v), true); } break; default: break; @@ -745,6 +745,7 @@ const SaveLoad *GetVehicleDescription(VehicleType vt) SLE_CONDVAR(Aircraft, number_consecutive_turns, SLE_UINT8, 2, SL_MAX_VERSION), SLE_CONDVAR(Aircraft, turn_counter, SLE_UINT8, 136, SL_MAX_VERSION), + SLE_CONDVAR(Aircraft, flags, SLE_UINT8, 167, SL_MAX_VERSION), SLE_CONDNULL(13, 2, 143), // old reserved space |