(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:
@@ -212,8 +212,9 @@
|
||||
* 147 20621
|
||||
* 148 20659
|
||||
* 149 20832
|
||||
* 150 20857
|
||||
*/
|
||||
extern const uint16 SAVEGAME_VERSION = 149; ///< current savegame version of OpenTTD
|
||||
extern const uint16 SAVEGAME_VERSION = 150; ///< current savegame version of OpenTTD
|
||||
|
||||
SavegameType _savegame_type; ///< type of savegame we are loading
|
||||
|
||||
|
@@ -238,6 +238,7 @@ const SaveLoad *GetGoodsDesc()
|
||||
SLE_VAR(GoodsEntry, last_age, SLE_UINT8),
|
||||
SLEG_CONDVAR( _cargo_feeder_share, SLE_FILE_U32 | SLE_VAR_I64, 14, 64),
|
||||
SLEG_CONDVAR( _cargo_feeder_share, SLE_INT64, 65, 67),
|
||||
SLE_CONDVAR(GoodsEntry, amount_fract, SLE_UINT8, 150, SL_MAX_VERSION),
|
||||
SLE_CONDLST(GoodsEntry, cargo.packets, REF_CARGO_PACKET, 68, SL_MAX_VERSION),
|
||||
|
||||
SLE_END()
|
||||
|
Reference in New Issue
Block a user