mirror of https://github.com/OpenTTD/OpenTTD
parent
b8af503ff5
commit
b36b1a8cf9
|
@ -1571,7 +1571,10 @@ static bool RoadVehController(RoadVehicle *v)
|
||||||
|
|
||||||
/* road vehicle has broken down? */
|
/* road vehicle has broken down? */
|
||||||
if (v->HandleBreakdown()) return true;
|
if (v->HandleBreakdown()) return true;
|
||||||
if (v->vehstatus & VS_STOPPED) return true;
|
if (v->vehstatus & VS_STOPPED) {
|
||||||
|
v->SetLastSpeed();
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
ProcessOrders(v);
|
ProcessOrders(v);
|
||||||
v->HandleLoading();
|
v->HandleLoading();
|
||||||
|
|
Loading…
Reference in New Issue