summaryrefslogtreecommitdiff
path: root/vehicle.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-25 21:43:57 +0000
committertron <tron@openttd.org>2005-01-25 21:43:57 +0000
commit993a106679e4e682d9028fe44d1e5f9f1f178506 (patch)
treec41ff658c058ac5448d20ea2b75c1855bd443d93 /vehicle.h
parent8e5e2e52fd67b0593c866e4777f9738d9fb6f368 (diff)
downloadopenttd-993a106679e4e682d9028fe44d1e5f9f1f178506.tar.xz
(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!
Diffstat (limited to 'vehicle.h')
-rw-r--r--vehicle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vehicle.h b/vehicle.h
index 2f582630a..9648acf8a 100644
--- a/vehicle.h
+++ b/vehicle.h
@@ -102,8 +102,8 @@ struct Vehicle {
TileIndex tile; // Current tile index
TileIndex dest_tile; // Heading for this tile
- int16 x_pos; // coordinates
- int16 y_pos;
+ int32 x_pos; // coordinates
+ int32 y_pos;
byte z_pos;
byte direction; // facing