mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-09-03 11:59:15 +00:00
(svn r1911) Put back an "if" i accidently removed in r1898
This commit is contained in:
@@ -142,7 +142,8 @@ int UpdateCompanyRatingAndValue(Player *p, bool update)
|
|||||||
}
|
}
|
||||||
|
|
||||||
_score_part[owner][SCORE_VEHICLES] = num;
|
_score_part[owner][SCORE_VEHICLES] = num;
|
||||||
_score_part[owner][SCORE_MIN_PROFIT] = min_profit;
|
if (min_profit > 0)
|
||||||
|
_score_part[owner][SCORE_MIN_PROFIT] = min_profit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Count stations */
|
/* Count stations */
|
||||||
|
Reference in New Issue
Block a user