File diff r1393:053a1c26ac95 → r1394:275bd5541bae
economy.c
Show inline comments
 
@@ -123,7 +123,7 @@ int UpdateCompanyRatingAndValue(Player *
 
/* Count vehicles */
 
	{
 
		Vehicle *v;
 
		int32 min_profit = MAX_INT;
 
		int32 min_profit = 0;
 
		uint num = 0;
 

	
 
		FOR_ALL_VEHICLES(v) {
 
@@ -142,9 +142,7 @@ int UpdateCompanyRatingAndValue(Player *
 
		}
 

	
 
		_score_part[owner][SCORE_VEHICLES] = num;
 

	
 
		if (min_profit != MAX_INT && min_profit > 0)
 
			_score_part[owner][SCORE_MIN_PROFIT] = min_profit;
 
		_score_part[owner][SCORE_MIN_PROFIT] = min_profit;
 
	}
 

	
 
/* Count stations */