1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-09-02 19:39:12 +00:00

(svn r1919) -Fix: Minimum profit of vehicles was calculated wrong for Performance Rating

This commit is contained in:
truelight
2005-03-01 19:32:55 +00:00
parent 6519d3bc97
commit 862faa16c0

View File

@@ -123,7 +123,7 @@ int UpdateCompanyRatingAndValue(Player *p, bool update)
/* Count vehicles */
{
Vehicle *v;
int32 min_profit = 0;
int32 min_profit = score_info[SCORE_MIN_PROFIT].needed;
uint num = 0;
FOR_ALL_VEHICLES(v) {