diff options
author | rubidium <rubidium@openttd.org> | 2009-10-06 23:01:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-06 23:01:35 +0000 |
commit | 446363aac4c791cf39254c3da7f1bc34e2aebf57 (patch) | |
tree | b3dda29c6e4ef0474fe3754ca641d7dccc37f11f /src/saveload | |
parent | 9b045ac7b2dc4749b3eb511f4a8ec2dc53ba324a (diff) | |
download | openttd-446363aac4c791cf39254c3da7f1bc34e2aebf57.tar.xz |
(svn r17734) -Fix (r17732): broke the assumption that 'this->packets == this', which broke loading old savegames. Now remove the (need for the) hack that needed that assumption.
Diffstat (limited to 'src/saveload')
-rw-r--r-- | src/saveload/vehicle_sl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp index fbca9332f..f49d4c385 100644 --- a/src/saveload/vehicle_sl.cpp +++ b/src/saveload/vehicle_sl.cpp @@ -447,7 +447,7 @@ const SaveLoad *GetVehicleDescription(VehicleType vt) SLEG_CONDVAR( _cargo_source_xy, SLE_UINT32, 44, 67), SLE_VAR(Vehicle, cargo_cap, SLE_UINT16), SLEG_CONDVAR( _cargo_count, SLE_UINT16, 0, 67), - SLE_CONDLST(Vehicle, cargo, REF_CARGO_PACKET, 68, SL_MAX_VERSION), + SLE_CONDLST(Vehicle, cargo.packets, REF_CARGO_PACKET, 68, SL_MAX_VERSION), SLE_VAR(Vehicle, day_counter, SLE_UINT8), SLE_VAR(Vehicle, tick_counter, SLE_UINT8), |