From 2fd3553d78d6b93fb85d97ae8e98beef5418a9c4 Mon Sep 17 00:00:00 2001 From: bjarni Date: Wed, 19 Jan 2005 19:15:03 +0000 Subject: (svn r1568) made an enum of train subtypes to make the code more readable --- vehicle_gui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vehicle_gui.c') diff --git a/vehicle_gui.c b/vehicle_gui.c index 601e7730c..efaee5306 100644 --- a/vehicle_gui.c +++ b/vehicle_gui.c @@ -72,7 +72,7 @@ void ResortVehicleLists(void) void BuildVehicleList(vehiclelist_d *vl, int type, int owner, int station) { - int subtype = (type != VEH_Aircraft) ? 0 : 2; + int subtype = (type != VEH_Aircraft) ? TS_Front_Engine : 2; int n = 0; int i; -- cgit v1.2.3-54-g00ecf