diff options
-rw-r--r-- | src/train_cmd.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 59cab1b38..d79a66dd5 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 { |