diff options
author | peter1138 <peter1138@openttd.org> | 2009-01-22 09:57:31 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2009-01-22 09:57:31 +0000 |
commit | 4d8c4670677c9fe26afc91da18207db068afd2e9 (patch) | |
tree | 0fa5898d7fcb6f176cb5bb89f66bc470fc54cad2 /src | |
parent | b2bfa2115548183acca1854747abd8d84aa2ca4a (diff) | |
download | openttd-4d8c4670677c9fe26afc91da18207db068afd2e9.tar.xz |
(svn r15205) -Revert (r7421, partial): Support for MaxTE solves problem in a better way
Diffstat (limited to 'src')
-rw-r--r-- | src/train_cmd.cpp | 4 |
1 files changed, 1 insertions, 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: |