Fix VF_STOP_LOADING flag not always being cleared when leaving station

This commit is contained in:
Jonathan G Rennison
2024-02-25 22:55:35 +00:00
parent 93bf033107
commit 746e3874c5

View File

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