(svn r2388) - Fix: [realistic accel] Very slow trains no longer get an increase in maximum speed when part of them is in a depot.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
hackykid 20 years ago
parent 55423efb06
commit d1c1a7cba7

@ -176,7 +176,7 @@ static int GetTrainAcceleration(Vehicle *v, bool mode)
max_speed = min(rvi->max_speed, max_speed);
if (u->u.rail.track == 0x80)
max_speed = 61;
max_speed = min(61, max_speed);
vmass = rvi->weight; //[t]
vmass += (_cargoc.weights[u->cargo_type] * u->cargo_count) / 16;

Loading…
Cancel
Save