(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!
This commit is contained in:
@@ -1865,7 +1865,8 @@ const TileTypeProcs _tile_type_town_procs = {
|
||||
|
||||
// Save and load of towns.
|
||||
static const byte _town_desc[] = {
|
||||
SLE_VAR(Town,xy, SLE_UINT16),
|
||||
SLE_CONDVAR(Town, xy, SLE_FILE_U16 | SLE_VAR_U32, 0, 5),
|
||||
SLE_CONDVAR(Town, xy, SLE_UINT32, 6, 255),
|
||||
|
||||
SLE_CONDVAR(Town,population, SLE_FILE_U16 | SLE_VAR_U32, 0, 2),
|
||||
SLE_CONDVAR(Town,population, SLE_UINT32, 3, 255),
|
||||
|
||||
Reference in New Issue
Block a user