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