From e57d6a8e48b1189ae54dcd387e5f35a2fe1da460 Mon Sep 17 00:00:00 2001 From: rubidium Date: Tue, 24 Nov 2009 13:28:18 +0000 Subject: (svn r18269) -Fix [FS#3326]: crash because there was no (hidden) one way widget for the tram toolbar --- src/road_gui.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/road_gui.cpp b/src/road_gui.cpp index 7f1533fa0..462fa24fe 100644 --- a/src/road_gui.cpp +++ b/src/road_gui.cpp @@ -692,6 +692,7 @@ static const NWidgetPart _nested_build_tramway_widgets[] = { NWidget(WWT_IMGBTN, COLOUR_DARK_GREEN, RTW_TRUCK_STATION), SetFill(0, 1), SetMinimalSize(22, 22), SetDataTip(SPR_IMG_TRUCK_BAY, STR_ROAD_TOOLBAR_TOOLTIP_BUILD_CARGO_TRAM_STATION), NWidget(WWT_PANEL, COLOUR_DARK_GREEN, -1), SetMinimalSize(0, 22), SetFill(1, 1), EndContainer(), + NWidget(WWT_EMPTY, COLOUR_DARK_GREEN, RTW_ONE_WAY), SetMinimalSize(0, 0), NWidget(WWT_IMGBTN, COLOUR_DARK_GREEN, RTW_BUILD_BRIDGE), SetFill(0, 1), SetMinimalSize(43, 22), SetDataTip(SPR_IMG_BRIDGE, STR_ROAD_TOOLBAR_TOOLTIP_BUILD_TRAMWAY_BRIDGE), NWidget(WWT_IMGBTN, COLOUR_DARK_GREEN, RTW_BUILD_TUNNEL), -- cgit v1.2.3-70-g09d2