diff options
Diffstat (limited to 'src/cargopacket.h')
-rw-r--r-- | src/cargopacket.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cargopacket.h b/src/cargopacket.h index 3ae9e9927..d425f30f5 100644 --- a/src/cargopacket.h +++ b/src/cargopacket.h @@ -311,6 +311,9 @@ protected: void AddToMeta(const CargoPacket *cp, MoveToAction action); void RemoveFromMeta(const CargoPacket *cp, MoveToAction action, uint count); + static MoveToAction ChooseAction(const CargoPacket *cp, StationID cargo_next, + StationID current_station, bool accepted, StationIDStack next_station); + public: /** The station cargo list needs to control the unloading. */ friend class StationCargoList; |