forked from mirror/OpenTTD
(svn r25235) -Fix [FS#5543]: keep all cargo whenever cancelling reservations (fonsinchen)
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user