# HG changeset patch # User tron # Date 2005-04-12 09:21:04 # Node ID 9f21468fa919e3abf38456a85f1f61e75da606f5 # Parent eccbfd1712c96041182e89aa8f1b40dd0311b3d2 (svn r2188) Revert r2185, because trains always accerlated (Requested by Celestar) diff --git a/train_cmd.c b/train_cmd.c --- a/train_cmd.c +++ b/train_cmd.c @@ -229,7 +229,7 @@ static int GetTrainAcceleration(Vehicle 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)); }