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

This commit is contained in:
hackykid 2005-06-01 10:30:45 +00:00
parent 55423efb06
commit d1c1a7cba7
1 changed files with 1 additions and 1 deletions

View File

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