mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-29 17:39:09 +00:00
(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:
@@ -947,8 +947,8 @@ static void ReverseTrainSwapVeh(Vehicle *v, int l, int r)
|
||||
if (!(b->u.rail.track & 0x80)) b->direction ^= 4;
|
||||
|
||||
/* swap more variables */
|
||||
swap_int16(&a->x_pos, &b->x_pos);
|
||||
swap_int16(&a->y_pos, &b->y_pos);
|
||||
swap_int32(&a->x_pos, &b->x_pos);
|
||||
swap_int32(&a->y_pos, &b->y_pos);
|
||||
swap_tile(&a->tile, &b->tile);
|
||||
swap_byte(&a->z_pos, &b->z_pos);
|
||||
|
||||
|
Reference in New Issue
Block a user