(svn r1568) made an enum of train subtypes to make the code more readable

This commit is contained in:
bjarni
2005-01-19 19:15:03 +00:00
parent 640985ce04
commit 467e4b82bf
12 changed files with 73 additions and 68 deletions

View File

@@ -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;