Fix #6498: Use int64 for all company rating calculations

This commit is contained in:
Niels Martin Hansen
2018-11-01 18:46:19 +01:00
parent c618a7c093
commit 810887af30
3 changed files with 13 additions and 13 deletions

View File

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