From 5931faeff6afd9c9a76410aa756f3dc4effed29d Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 12 May 2013 11:53:53 +0000 Subject: (svn r25235) -Fix [FS#5543]: keep all cargo whenever cancelling reservations (fonsinchen) --- src/vehicle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/vehicle.cpp b/src/vehicle.cpp index b6545e2ca..b209092fb 100644 --- a/src/vehicle.cpp +++ b/src/vehicle.cpp @@ -2025,8 +2025,8 @@ void Vehicle::CancelReservation(Station *st) if (cargo.ActionCount(VehicleCargoList::MTA_LOAD) > 0) { DEBUG(misc, 1, "cancelling cargo reservation"); cargo.Return(UINT_MAX, &st->goods[v->cargo_type].cargo); - cargo.KeepAll(); } + cargo.KeepAll(); } } -- cgit v1.2.3-70-g09d2