From c1622b04abe59afe12822139bf17f80c5593163c Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 22 Jan 2009 14:34:29 +0000 Subject: [PATCH] (svn r15208) -Codechange: Remove some kind (undocumented, so who really knows) of original attempt to limit maximum tractive effort from 'realistic' acceleration. --- src/train_cmd.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 59cab1b382..d79a66dd58 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -526,10 +526,6 @@ static int GetTrainAcceleration(Vehicle *v, bool mode) force = max(force, (mass * 8) + resistance); } - if (force <= 0) force = 10000; - - if (v->u.rail.railtype != RAILTYPE_MAGLEV) force = min(force, mass * 10 * 200); - if (mode == AM_ACCEL) { return (force - resistance) / (mass * 4); } else {