(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
1 changed files with 1 additions and 1 deletions

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) {