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

pull/155/head
hackykid 20 years ago
parent f4f5cb93f8
commit 80cbf3a0ee

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