@@ -74,8 +74,10 @@ void CcBuildBridge(const CommandCost &result, TileIndex end_tile, uint32 p1, uin
|
||||
ConnectRoadToStructure(p1, start_direction);
|
||||
}
|
||||
|
||||
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. */
|
||||
class BuildBridgeWindow : public Window {
|
||||
|
Reference in New Issue
Block a user