diff options
author | Samu <dj_samu@hotmail.com> | 2019-02-04 00:44:50 +0000 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2019-03-02 18:14:45 +0100 |
commit | 780593ae6010adb3e80620cfcac99934330a14ae (patch) | |
tree | 659bc7ae3cd5df578654b79eb936ade98ba03e8f /src/cargomonitor.h | |
parent | cbaf52fbe1aaf7fc34cd585739b4f9fc10af1ad8 (diff) | |
download | openttd-780593ae6010adb3e80620cfcac99934330a14ae.tar.xz |
Fix #6633: Cargo monitor industry delivery now accounts for which IndustryID the cargo was delivered to
Diffstat (limited to 'src/cargomonitor.h')
-rw-r--r-- | src/cargomonitor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cargomonitor.h b/src/cargomonitor.h index e74f717e0..c7e5da135 100644 --- a/src/cargomonitor.h +++ b/src/cargomonitor.h @@ -149,6 +149,6 @@ void ClearCargoPickupMonitoring(CompanyID company = INVALID_OWNER); void ClearCargoDeliveryMonitoring(CompanyID company = INVALID_OWNER); int32 GetDeliveryAmount(CargoMonitorID monitor, bool keep_monitoring); int32 GetPickupAmount(CargoMonitorID monitor, bool keep_monitoring); -void AddCargoDelivery(CargoID cargo_type, CompanyID company, uint32 amount, SourceType src_type, SourceID src, const Station *st); +void AddCargoDelivery(CargoID cargo_type, CompanyID company, uint32 amount, SourceType src_type, SourceID src, const Station *st, IndustryID dest = INVALID_INDUSTRY); #endif /* CARGOMONITOR_H */ |