summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-03-24 15:15:06 +0000
committertruelight <truelight@openttd.org>2005-03-24 15:15:06 +0000
commitf86318407ca89cecce23128f34c61f9fa4f078b7 (patch)
treef4d76599105ad594711b3b11a7e20641aa20af3b
parent1536c3ae5af34cda0a0fc17b5181f498d2340066 (diff)
downloadopenttd-f86318407ca89cecce23128f34c61f9fa4f078b7.tar.xz
(svn r2045) -Fix: hopefully fixed the desync problem. Please all test this revision!!
(with tnx to Celestar, Hackykid, dp-_ and Tron)
-rw-r--r--vehicle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vehicle.c b/vehicle.c
index 56ed63be7..82127512c 100644
--- a/vehicle.c
+++ b/vehicle.c
@@ -186,7 +186,7 @@ void AfterLoadVehicles(void)
v->left_coord = INVALID_COORD;
VehiclePositionChanged(v);
- if (v->type == VEH_Train) {
+ if (!_patches.realistic_acceleration && v->type == VEH_Train) {
if (v->subtype == TS_Front_Engine)
UpdateTrainAcceleration(v);
}