summaryrefslogtreecommitdiff
path: root/src/station_base.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2014-05-11 18:35:34 +0000
committerrubidium <rubidium@openttd.org>2014-05-11 18:35:34 +0000
commit0ceb05ee9f37d0f65378b6e5ca678fea70e2e5c7 (patch)
treeb5218321ff618842ca79807563c3da98a6f0a30f /src/station_base.h
parentb590a647188a8c98efca81f81cf7cb1a1c6228e1 (diff)
downloadopenttd-0ceb05ee9f37d0f65378b6e5ca678fea70e2e5c7.tar.xz
(svn r26582) -Feature-ish: quickly decay cargo after about 21 months of not having picked any of the cargo, and prevent houses and industries providing more cargo
Diffstat (limited to 'src/station_base.h')
-rw-r--r--src/station_base.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/station_base.h b/src/station_base.h
index 1b97b0258..67c3dcc90 100644
--- a/src/station_base.h
+++ b/src/station_base.h
@@ -169,11 +169,12 @@ struct GoodsEntry {
GES_ACCEPTANCE,
/**
- * Set when the cargo was ever waiting at the station.
+ * This indicates whether a cargo has a rating at the station.
+ * Set when cargo was ever waiting at the station.
* It is set when cargo supplied by surrounding tiles is moved to the station, or when
* arriving vehicles unload/transfer cargo without it being a final delivery.
- * This also indicates, whether a cargo has a rating at the station.
- * This flag is never cleared.
+ *
+ * This flag is cleared after 255 * STATION_RATING_TICKS of not having seen a pickup.
*/
GES_RATING,