Fix: base cargo payment on load/unload tile, instead of station sign location (#11281)
(cherry picked from commit 9c49a61249)
This commit is contained in:
committed by
Jonathan G Rennison
parent
a15847cf4f
commit
05c35c8e31
@@ -37,8 +37,8 @@ struct CargoPayment : CargoPaymentPool::PoolItem<&_cargo_payment_pool> {
|
||||
CargoPayment(Vehicle *front);
|
||||
~CargoPayment();
|
||||
|
||||
Money PayTransfer(CargoPacket *cp, uint count);
|
||||
void PayFinalDelivery(CargoPacket *cp, uint count);
|
||||
Money PayTransfer(CargoPacket *cp, uint count, TileIndex current_tile);
|
||||
void PayFinalDelivery(CargoPacket *cp, uint count, TileIndex current_tile);
|
||||
|
||||
/**
|
||||
* Sets the currently handled cargo type.
|
||||
|
||||
Reference in New Issue
Block a user