From 92b9ff3f9660fc2a5ac154a762f7568e40c97ad4 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Thu, 22 Jan 2009 09:57:31 +0000 Subject: (svn r15205) -Revert (r7421, partial): Support for MaxTE solves problem in a better way --- src/train_cmd.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 6aa7eda90..59cab1b38 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -502,11 +502,9 @@ static int GetTrainAcceleration(Vehicle *v, bool mode) resistance += incl; resistance *= 4; //[N] - /* Due to the mph to m/s conversion below, at speeds below 3 mph the force is - * actually double the train's power */ const int max_te = v->u.rail.cached_max_te; // [N] int force; - if (speed > 2) { + if (speed > 0) { switch (v->u.rail.railtype) { case RAILTYPE_RAIL: case RAILTYPE_ELECTRIC: -- cgit v1.2.3-70-g09d2