From 6d23dac1f683305d6b2a0e368f4c45ccb738e81d Mon Sep 17 00:00:00 2001 From: tron Date: Wed, 26 Jan 2005 05:51:27 +0000 Subject: [PATCH] (svn r1677) Forgot to change the save/load size for 3 variables --- misc.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/misc.c b/misc.c index e816d44764..2017239a74 100644 --- a/misc.c +++ b/misc.c @@ -793,7 +793,8 @@ static const SaveLoadGlobVarList _date_desc[] = { {&_vehicle_id_ctr_day, SLE_UINT16, 0, 255}, {&_age_cargo_skip_counter, SLE_UINT8, 0, 255}, {&_avail_aircraft, SLE_UINT8, 0, 255}, - {&_cur_tileloop_tile, SLE_UINT16, 0, 255}, + {&_cur_tileloop_tile, SLE_FILE_U16 | SLE_VAR_U32, 0, 5}, + {&_cur_tileloop_tile, SLE_UINT32, 6, 255}, {&_disaster_delay, SLE_UINT16, 0, 255}, {&_station_tick_ctr, SLE_UINT16, 0, 255}, {&_random_seeds[0][0], SLE_UINT32, 0, 255}, @@ -815,8 +816,10 @@ static void SaveLoad_DATE(void) static const SaveLoadGlobVarList _view_desc[] = { - {&_saved_scrollpos_x, SLE_FILE_I16 | SLE_VAR_INT, 0, 255}, - {&_saved_scrollpos_y, SLE_FILE_I16 | SLE_VAR_INT, 0, 255}, + {&_saved_scrollpos_x, SLE_FILE_I16 | SLE_VAR_INT, 0, 5}, + {&_saved_scrollpos_x, SLE_INT32, 6, 255}, + {&_saved_scrollpos_y, SLE_FILE_I16 | SLE_VAR_INT, 0, 5}, + {&_saved_scrollpos_y, SLE_INT32, 6, 255}, {&_saved_scrollpos_zoom, SLE_UINT8, 0, 255}, {NULL, 0, 0, 0} };