Fix: only count distance traveled in vehicles for cargo payment (#11283)
No longer you can utilize the free (and instant) labour of station workers, transporting your cargo from one part of the station to the other. No more! Based on patch by dP.
This commit is contained in:
@@ -2241,7 +2241,7 @@ void Vehicle::CancelReservation(StationID next, Station *st)
|
||||
VehicleCargoList &cargo = v->cargo;
|
||||
if (cargo.ActionCount(VehicleCargoList::MTA_LOAD) > 0) {
|
||||
Debug(misc, 1, "cancelling cargo reservation");
|
||||
cargo.Return(UINT_MAX, &st->goods[v->cargo_type].cargo, next);
|
||||
cargo.Return(UINT_MAX, &st->goods[v->cargo_type].cargo, next, v->tile);
|
||||
}
|
||||
cargo.KeepAll();
|
||||
}
|
||||
|
Reference in New Issue
Block a user