summaryrefslogtreecommitdiff
path: root/map.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-01-06 11:39:00 +0000
committertron <tron@openttd.org>2005-01-06 11:39:00 +0000
commitf8c95a1dbeac23296cacc83ae25d2a8b352cd83d (patch)
treef875975dc056d7d3fea370018fa0bdf62837fd3e /map.c
parent790b03c7071388addd4cb064e473e96f8e1f12e0 (diff)
downloadopenttd-f8c95a1dbeac23296cacc83ae25d2a8b352cd83d.tar.xz
(svn r1396) Introduce TileIndexDiffC - the compile time version of TileIndexDiff
Diffstat (limited to 'map.c')
-rw-r--r--map.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/map.c b/map.c
index b67355ecf..ca4d960d0 100644
--- a/map.c
+++ b/map.c
@@ -15,9 +15,9 @@ byte _map_owner [MAP_SIZE];
uint16 _map2 [MAP_SIZE];
byte _map_extra_bits [MAP_SIZE / 4];
-const TileIndexDiff _tileoffs_by_dir[4] = {
- TILE_XY(-1, 0),
- TILE_XY(0, 1),
- TILE_XY(1, 0),
- TILE_XY(0, -1),
+const TileIndexDiffC _tileoffs_by_dir[] = {
+ {-1, 0},
+ { 0, 1},
+ { 1, 0},
+ { 0, -1}
};