summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2005-06-23 06:19:06 +0000
committercelestar <celestar@openttd.org>2005-06-23 06:19:06 +0000
commitcc6fe1263b09f77b6bf90eefef69e3b60c46b58b (patch)
tree70f08bbef80b82263d03fe8263fb9599873724cf
parentc1867e3fccc4279c77346f38dafa1d41c96ad116 (diff)
downloadopenttd-cc6fe1263b09f77b6bf90eefef69e3b60c46b58b.tar.xz
(svn r2475) -Fix: [ 1214982 & 1217473 ] realistic acceleration problem. (glx)
-rw-r--r--train_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/train_cmd.c b/train_cmd.c
index 9b5192e61..a01429b83 100644
--- a/train_cmd.c
+++ b/train_cmd.c
@@ -312,7 +312,7 @@ static int GetTrainAcceleration(Vehicle *v, bool mode)
}
} else {
//"kickoff" acceleration
- force = resistance * 10;
+ force = (mass * 8) + resistance;
}
if (force <= 0) force = 10000;