Codechange: rename TILE_ADD(XY) to TileAdd(XY)

This commit is contained in:
Rubidium
2024-03-10 14:51:08 +01:00
committed by rubidium42
parent df461b0329
commit 27eadc13ec
22 changed files with 77 additions and 78 deletions

View File

@@ -148,7 +148,7 @@ static TileIndex FindRailStationEnd(TileIndex tile, TileIndexDiff delta, bool ch
if (check_axis) orig_axis = GetRailStationAxis(tile);
for (;;) {
TileIndex new_tile = TILE_ADD(tile, delta);
TileIndex new_tile = TileAdd(tile, delta);
if (!IsTileType(new_tile, MP_STATION) || GetStationIndex(new_tile) != sid) break;
if (!HasStationRail(new_tile)) break;