@@ -74,7 +74,9 @@ void CcBuildBridge(const CommandCost &result, TileIndex end_tile, uint32 p1, uin
|
|||||||
ConnectRoadToStructure(p1, start_direction);
|
ConnectRoadToStructure(p1, start_direction);
|
||||||
}
|
}
|
||||||
|
|
||||||
StoreRailPlacementEndpoints(p1, end_tile, (TileX(p1) == TileX(end_tile)) ? TRACK_Y : TRACK_X, false);
|
if (transport_type == TRANSPORT_RAIL) {
|
||||||
|
StoreRailPlacementEndpoints(p1, end_tile, (TileX(p1) == TileX(end_tile)) ? TRACK_Y : TRACK_X, false);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Window class for handling the bridge-build GUI. */
|
/** Window class for handling the bridge-build GUI. */
|
||||||
|
Reference in New Issue
Block a user