diff options
author | rubidium <rubidium@openttd.org> | 2009-05-22 18:56:25 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-05-22 18:56:25 +0000 |
commit | 6d1c974254735f5d4232907718f2cac1869c64c8 (patch) | |
tree | 040ec7971db0b35dc92880f552a790185bf0cca5 /src/saveload/vehicle_sl.cpp | |
parent | 2365d27a4d90ec32b0a9db09fe0fe04e4559911a (diff) | |
download | openttd-6d1c974254735f5d4232907718f2cac1869c64c8.tar.xz |
(svn r16384) -Codechange: move u.effect to EffectVehicle
Diffstat (limited to 'src/saveload/vehicle_sl.cpp')
-rw-r--r-- | src/saveload/vehicle_sl.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/saveload/vehicle_sl.cpp b/src/saveload/vehicle_sl.cpp index c749a27e3..9a4c2503d 100644 --- a/src/saveload/vehicle_sl.cpp +++ b/src/saveload/vehicle_sl.cpp @@ -606,8 +606,8 @@ const SaveLoad *GetVehicleDescription(VehicleType vt) SLE_VAR(Vehicle, progress, SLE_UINT8), SLE_VAR(Vehicle, vehstatus, SLE_UINT8), - SLE_VARX(cpp_offsetof(Vehicle, u) + cpp_offsetof(VehicleEffect, animation_state), SLE_UINT16), - SLE_VARX(cpp_offsetof(Vehicle, u) + cpp_offsetof(VehicleEffect, animation_substate), SLE_UINT8), + SLE_VAR(EffectVehicle, animation_state, SLE_UINT16), + SLE_VAR(EffectVehicle, animation_substate, SLE_UINT8), SLE_CONDVAR(Vehicle, spritenum, SLE_UINT8, 2, SL_MAX_VERSION), |