(svn r25235) -Fix [FS#5543]: keep all cargo whenever cancelling reservations (fonsinchen)

This commit is contained in:
rubidium
2013-05-12 11:53:53 +00:00
parent 9bbc37450c
commit 5931faeff6
4 changed files with 4 additions and 1 deletions

View File

@@ -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();
}
}