diff options
author | glx <glx@openttd.org> | 2008-08-20 16:51:08 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2008-08-20 16:51:08 +0000 |
commit | ef0458c739fd231442470389e292747cb95b027b (patch) | |
tree | f72258e549e70e16172e65a32a295599e68c638e /src/vehicle.cpp | |
parent | 5d5cb04297bbd8ade6f76008caf1abeb6cef36f5 (diff) | |
download | openttd-ef0458c739fd231442470389e292747cb95b027b.tar.xz |
(svn r14110) -Fix: desyncs due to bubbles in toyland
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r-- | src/vehicle.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 80ddeb032..4d4b774e7 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -2270,8 +2270,10 @@ static const SaveLoad _special_desc[] = { 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), - /* reserve extra space in savegame here. (currently 16 bytes) */ - SLE_CONDNULL(16, 2, SL_MAX_VERSION), + SLE_CONDVAR(Vehicle, spritenum, SLE_UINT8, 2, SL_MAX_VERSION), + + /* reserve extra space in savegame here. (currently 15 bytes) */ + SLE_CONDNULL(15, 2, SL_MAX_VERSION), SLE_END() }; |