1
0
Fork 0

Codechange: Less indentation

pull/14425/head
Susan 2025-07-11 02:29:58 +01:00
parent 1000875f88
commit 5a1a8adb3f
1 changed files with 34 additions and 35 deletions

View File

@ -403,7 +403,7 @@ CommandCost CmdBuildBridge(DoCommandFlags flags, TileIndex tile_end, TileIndex t
TileIndexDiff delta = (direction == AXIS_X ? TileDiffXY(1, 0) : TileDiffXY(0, 1));
for (TileIndex tile = tile_start + delta; tile != tile_end; tile += delta) {
if (IsTileType(tile, MP_STATION)) {
if (!IsTileType(tile, MP_STATION)) continue;
switch (GetStationType(tile)) {
case StationType::Rail:
case StationType::RailWaypoint: {
@ -441,7 +441,6 @@ CommandCost CmdBuildBridge(DoCommandFlags flags, TileIndex tile_end, TileIndex t
break;
}
}
}
} else {
/* Build a new bridge. */