From beb185248bee0a2f8d04bb9e92608a8618c75970 Mon Sep 17 00:00:00 2001 From: tron Date: Tue, 12 Apr 2005 09:21:04 +0000 Subject: (svn r2188) Revert r2185, because trains always accerlated (Requested by Celestar) --- train_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/train_cmd.c b/train_cmd.c index 7168a2912..c2aa26eaa 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -229,7 +229,7 @@ static int GetTrainAcceleration(Vehicle *v, bool mode) if (v->u.rail.railtype != 2) force = min(force, mass * 10 * 200); if (mode == AM_ACCEL) { - return max((force - resistance) / (mass * 4), 2); + return (force - resistance) / (mass * 4); } else { return min((-force - resistance) / (mass * 4), 10000 / (mass * 4)); } -- cgit v1.2.3-70-g09d2