summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-26 05:51:27 +0000
committertron <tron@openttd.org>2005-01-26 05:51:27 +0000
commit6d23dac1f683305d6b2a0e368f4c45ccb738e81d (patch)
treedfb2e3c1661e8d33c53e2d9e3d6ed783e074cfe9
parent993a106679e4e682d9028fe44d1e5f9f1f178506 (diff)
downloadopenttd-6d23dac1f683305d6b2a0e368f4c45ccb738e81d.tar.xz
(svn r1677) Forgot to change the save/load size for 3 variables
-rw-r--r--misc.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/misc.c b/misc.c
index e816d4476..2017239a7 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}
};