changeset 1067 | a083a6dd1419 |
parent 1063 | 03fed43e58fc |
child 1068 | 2a9f53e0a5e6 |
--- a/vehicle.c Wed Jan 19 13:31:46 2005 +0000 +++ b/vehicle.c Wed Jan 19 19:15:03 2005 +0000 @@ -159,7 +159,7 @@ VehiclePositionChanged(v); if (v->type == VEH_Train) { - if (v->subtype == 0) + if (v->subtype == TS_Front_Engine) UpdateTrainAcceleration(v); } } @@ -2012,7 +2012,7 @@ FOR_ALL_VEHICLES(v) { Vehicle *w; - if (v->type != VEH_Train || v->subtype != 0) + if (v->type != VEH_Train || v->subtype != TS_Front_Engine) continue; for (w = v->next; w; w = w->next)