summaryrefslogtreecommitdiff
path: root/vehicle.c
diff options
context:
space:
mode:
Diffstat (limited to 'vehicle.c')
-rw-r--r--vehicle.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/vehicle.c b/vehicle.c
index d73739ad9..80fcac416 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -188,10 +188,8 @@ void AfterLoadVehicles(void)
v->left_coord = INVALID_COORD;
VehiclePositionChanged(v);
- if (!_patches.realistic_acceleration && v->type == VEH_Train) {
- if (v->subtype == TS_Front_Engine)
- UpdateTrainAcceleration(v);
- }
+ if (v->type == VEH_Train && v->subtype == TS_Front_Engine)
+ TrainConsistChanged(v);
}
}
}