From 07cb3068ae71ce331b540426cd098c6a33ca598a Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 25 Jan 2005 21:43:57 +0000 Subject: (svn r1676) Increase the size of TileIndex and TileIndexDiff to 32bits and adapt the save/load data and some other parts of the code to that change WARNING: If i made any mistake here it WILL lead to corrupted savegames! --- industry_cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'industry_cmd.c') diff --git a/industry_cmd.c b/industry_cmd.c index ab33e1f4d..b22ab058e 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -1876,7 +1876,8 @@ const TileTypeProcs _tile_type_industry_procs = { }; static const byte _industry_desc[] = { - SLE_VAR(Industry,xy, SLE_UINT16), + SLE_CONDVAR(Industry, xy, SLE_FILE_U16 | SLE_VAR_U32, 0, 5), + SLE_CONDVAR(Industry, xy, SLE_UINT32, 6, 255), SLE_VAR(Industry,width, SLE_UINT8), SLE_VAR(Industry,height, SLE_UINT8), SLE_REF(Industry,town, REF_TOWN), -- cgit v1.2.3-54-g00ecf