(svn r15208) -Codechange: Remove some kind (undocumented, so who really knows) of original attempt to limit maximum tractive effort from 'realistic' acceleration.

This commit is contained in:
peter1138 2009-01-22 14:34:29 +00:00
parent 8ef066baee
commit c1622b04ab

View File

@ -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 {