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
commit56f3bc9e6941d1f66aa059a9860b4dc3b9ae1add (patch)
tree70f08bbef80b82263d03fe8263fb9599873724cf
parent7b0c7672383cc00612b801607f7db771a3bc2190 (diff)
downloadopenttd-56f3bc9e6941d1f66aa059a9860b4dc3b9ae1add.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;