mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 00:49:11 +00:00
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user