summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-12-09 10:57:05 +0000
committerDarkvater <darkvater@openttd.org>2006-12-09 10:57:05 +0000
commit38edab372b48c7fb5addcfab88ead01a6bb4a760 (patch)
treea4ba159d4d81d0a083c5efa18b22c836015c4c97
parentf87c8834e23188f27cd1fd1626c040d3ebafb998 (diff)
downloadopenttd-38edab372b48c7fb5addcfab88ead01a6bb4a760.tar.xz
(svn r7450) -Codechange: Remove dead code, caption is set in the next switch block of vehicle list for all cases (Tron)
-rw-r--r--vehicle_gui.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/vehicle_gui.c b/vehicle_gui.c
index 560262ece..758791dc3 100644
--- a/vehicle_gui.c
+++ b/vehicle_gui.c
@@ -1478,7 +1478,6 @@ static void CreateVehicleListWindow(Window *w)
break;
case VEH_Aircraft:
- w->widget[VLW_WIDGET_CAPTION].data = STR_A009_AIRCRAFT;
w->widget[VLW_WIDGET_LIST].tooltips = STR_A01F_AIRCRAFT_CLICK_ON_AIRCRAFT;
w->widget[VLW_WIDGET_NEW_VEHICLES].data = STR_A003_NEW_AIRCRAFT;
break;