diff options
author | bjarni <bjarni@openttd.org> | 2005-01-19 19:15:03 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2005-01-19 19:15:03 +0000 |
commit | 2fd3553d78d6b93fb85d97ae8e98beef5418a9c4 (patch) | |
tree | 2bf58365c54d2375ef13ac173631a7846771dc03 /vehicle_gui.c | |
parent | e4a3d284b21a5bbd4ff5c0ad920be28cd4701e8a (diff) | |
download | openttd-2fd3553d78d6b93fb85d97ae8e98beef5418a9c4.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.c | 2 |
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; |