diff options
author | Niels Martin Hansen <nielsm@indvikleren.dk> | 2018-11-01 18:46:19 +0100 |
---|---|---|
committer | Niels Martin Hansen <nielsm@indvikleren.dk> | 2018-11-25 00:48:34 +0100 |
commit | 810887af3043eed7506f5e0c3b7bc429cee8fa31 (patch) | |
tree | 848760876511e240f184e18ebc7edaf490c03ac2 /src/economy_func.h | |
parent | c618a7c093cf0a0d0ad042ce7c382706d7f65cb1 (diff) | |
download | openttd-810887af3043eed7506f5e0c3b7bc429cee8fa31.tar.xz |
Fix #6498: Use int64 for all company rating calculations
Diffstat (limited to 'src/economy_func.h')
-rw-r--r-- | src/economy_func.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/economy_func.h b/src/economy_func.h index 111ce85a2..7b369b7d6 100644 --- a/src/economy_func.h +++ b/src/economy_func.h @@ -22,7 +22,7 @@ void ResetPriceBaseMultipliers(); void SetPriceBaseMultiplier(Price price, int factor); extern const ScoreInfo _score_info[]; -extern int _score_part[MAX_COMPANIES][SCORE_END]; +extern int64 _score_part[MAX_COMPANIES][SCORE_END]; extern Economy _economy; /* Prices and also the fractional part. */ extern Prices _price; |