diff options
author | rubidium <rubidium@openttd.org> | 2010-09-28 22:00:24 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-09-28 22:00:24 +0000 |
commit | b4f6201e940d3cee219e944664b8505638dbad81 (patch) | |
tree | ba0ba77de9699d4915bad38056d1ef90be4ba13f /src/station_base.h | |
parent | 897bb71621ef72490bd8667ab02355fdb40817fb (diff) | |
download | openttd-b4f6201e940d3cee219e944664b8505638dbad81.tar.xz |
(svn r20857) -Fix [FS#3637]: The station with the second highest rating was doubly penalised when distributing cargo. Now the penalty is completely removed and the granularity/precision of the distribution in increased by using fractional cargo. This should make competing stations less "all-or-nothing".
Diffstat (limited to 'src/station_base.h')
-rw-r--r-- | src/station_base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/station_base.h b/src/station_base.h index ca0e598f9..d595379e9 100644 --- a/src/station_base.h +++ b/src/station_base.h @@ -42,6 +42,7 @@ struct GoodsEntry { byte rating; byte last_speed; byte last_age; + byte amount_fract; ///< Fractional part of the amount in the cargo list StationCargoList cargo; ///< The cargo packets of cargo waiting in this station }; |