diff options
Diffstat (limited to 'train_cmd.c')
-rw-r--r-- | train_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/train_cmd.c b/train_cmd.c index b3273dc68..25ec0c8e4 100644 --- a/train_cmd.c +++ b/train_cmd.c @@ -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; |