From 7a20968aafd5341cb6d14acb8129bb00781cbcb0 Mon Sep 17 00:00:00 2001 From: glx Date: Sun, 10 Feb 2008 05:21:08 +0000 Subject: (svn r12097) -Fix (r654, r1525): loading old, pre savegame version 2, savegames. --- src/vehicle.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/vehicle.cpp b/src/vehicle.cpp index 62f8929d9..31141b42c 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -2853,11 +2853,11 @@ static const SaveLoad _common_veh_desc[] = { SLE_CONDVAR(Vehicle, value, SLE_FILE_I32 | SLE_VAR_I64, 0, 64), SLE_CONDVAR(Vehicle, value, SLE_INT64, 65, SL_MAX_VERSION), - SLE_VAR(Vehicle, random_bits, SLE_UINT8), - SLE_VAR(Vehicle, waiting_triggers, SLE_UINT8), + SLE_CONDVAR(Vehicle, random_bits, SLE_UINT8, 2, SL_MAX_VERSION), + SLE_CONDVAR(Vehicle, waiting_triggers, SLE_UINT8, 2, SL_MAX_VERSION), - SLE_REF(Vehicle, next_shared, REF_VEHICLE), - SLE_REF(Vehicle, prev_shared, REF_VEHICLE), + SLE_CONDREF(Vehicle, next_shared, REF_VEHICLE, 2, SL_MAX_VERSION), + SLE_CONDREF(Vehicle, prev_shared, REF_VEHICLE, 2, SL_MAX_VERSION), SLE_CONDVAR(Vehicle, group_id, SLE_UINT16, 60, SL_MAX_VERSION), -- cgit v1.2.3-70-g09d2