(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".

This commit is contained in:
rubidium
2010-09-28 22:00:24 +00:00
parent 6c9580d6d0
commit e567833521
4 changed files with 30 additions and 24 deletions

View File

@@ -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
};