From 746e3874c58bc90b1dc31e95f1b6e799f3de441f Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Sun, 25 Feb 2024 22:55:35 +0000 Subject: [PATCH] Fix VF_STOP_LOADING flag not always being cleared when leaving station --- src/vehicle.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/vehicle.cpp b/src/vehicle.cpp index bfc069e9a5..9977b6248f 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -3503,6 +3503,7 @@ void Vehicle::LeaveStation() dbg_assert(this->cargo_payment == nullptr); // cleared by ~CargoPayment ClrBit(this->vehicle_flags, VF_COND_ORDER_WAIT); + ClrBit(this->vehicle_flags, VF_STOP_LOADING); TileIndex station_tile = INVALID_TILE;