mirror of
https://github.com/OpenTTD/OpenTTD
synced 2026-01-17 01:12:39 +01:00
(svn r12891) [0.6] -Fix (r12868): breakdowns were broken and would cause vehicles to go slower than they should have been moving.
This commit is contained in:
@@ -3570,7 +3570,7 @@ static void TrainLocoHandler(Vehicle *v, bool mode)
|
||||
HandleBrokenTrain(v);
|
||||
return;
|
||||
}
|
||||
if (!v->current_order.type == OT_LOADING) v->breakdown_ctr--;
|
||||
if (v->current_order.type != OT_LOADING) v->breakdown_ctr--;
|
||||
}
|
||||
|
||||
if (HasBit(v->u.rail.flags, VRF_REVERSING) && v->cur_speed == 0) {
|
||||
|
||||
Reference in New Issue
Block a user