mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 16:09:10 +00:00
(svn r1414) Move TileIndex, TILE_MASK and GET_TILE_[XY] to map.h and turn the latter into inline functions names Tile[XY]
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user