From 810887af3043eed7506f5e0c3b7bc429cee8fa31 Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Thu, 1 Nov 2018 18:46:19 +0100 Subject: Fix #6498: Use int64 for all company rating calculations --- src/economy_func.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/economy_func.h') 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; -- cgit v1.2.3-54-g00ecf