summaryrefslogtreecommitdiff
path: root/src/economy_func.h
diff options
context:
space:
mode:
authorNiels Martin Hansen <nielsm@indvikleren.dk>2018-11-01 18:46:19 +0100
committerNiels Martin Hansen <nielsm@indvikleren.dk>2018-11-25 00:48:34 +0100
commit810887af3043eed7506f5e0c3b7bc429cee8fa31 (patch)
tree848760876511e240f184e18ebc7edaf490c03ac2 /src/economy_func.h
parentc618a7c093cf0a0d0ad042ce7c382706d7f65cb1 (diff)
downloadopenttd-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.h2
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;