diff options
author | tron <tron@openttd.org> | 2005-01-07 17:02:43 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-07 17:02:43 +0000 |
commit | 7ca6b2b8b0d6f66966fa2ff01e3e9961314dfcc4 (patch) | |
tree | e4137b60a824b45ce09f668d58520e36dba10256 /road_cmd.c | |
parent | f5c33e50733c46cee14e84ade6da0c171d96064b (diff) | |
download | openttd-7ca6b2b8b0d6f66966fa2ff01e3e9961314dfcc4.tar.xz |
(svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]
Diffstat (limited to 'road_cmd.c')
-rw-r--r-- | road_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/road_cmd.c b/road_cmd.c index d42e50f03..c7ea7d08e 100644 --- a/road_cmd.c +++ b/road_cmd.c @@ -980,8 +980,8 @@ static void TileLoop_Road(uint tile) SndPlayTileFx(SND_21_JACKHAMMER, tile); CreateEffectVehicleAbove( - GET_TILE_X(tile) * 16 + 7, - GET_TILE_Y(tile) * 16 + 7, + TileX(tile) * 16 + 7, + TileY(tile) * 16 + 7, 0, EV_ROADWORK); MarkTileDirtyByTile(tile); |