diff options
-rw-r--r-- | src/roadveh_cmd.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/roadveh_cmd.cpp b/src/roadveh_cmd.cpp index f707f1221..1a4e4e085 100644 --- a/src/roadveh_cmd.cpp +++ b/src/roadveh_cmd.cpp @@ -1571,7 +1571,10 @@ static bool RoadVehController(RoadVehicle *v) /* road vehicle has broken down? */ if (v->HandleBreakdown()) return true; - if (v->vehstatus & VS_STOPPED) return true; + if (v->vehstatus & VS_STOPPED) { + v->SetLastSpeed(); + return true; + } ProcessOrders(v); v->HandleLoading(); |