summaryrefslogtreecommitdiff
path: root/vehicle_gui.c
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2005-01-19 19:15:03 +0000
committerbjarni <bjarni@openttd.org>2005-01-19 19:15:03 +0000
commit467e4b82bfb6ceb2197a73372d9e417b8d9ff59c (patch)
tree2bf58365c54d2375ef13ac173631a7846771dc03 /vehicle_gui.c
parent640985ce04a2ba44bf69b85e7fb91edd4b507b08 (diff)
downloadopenttd-467e4b82bfb6ceb2197a73372d9e417b8d9ff59c.tar.xz
(svn r1568) made an enum of train subtypes to make the code more readable
Diffstat (limited to 'vehicle_gui.c')
-rw-r--r--vehicle_gui.c2
1 files changed, 1 insertions, 1 deletions
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;