(svn r1911) Put back an "if" i accidently removed in r1898
This commit is contained in:
		@@ -142,6 +142,7 @@ int UpdateCompanyRatingAndValue(Player *p, bool update)
 | 
				
			|||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		_score_part[owner][SCORE_VEHICLES] = num;
 | 
							_score_part[owner][SCORE_VEHICLES] = num;
 | 
				
			||||||
 | 
							if (min_profit > 0)
 | 
				
			||||||
			_score_part[owner][SCORE_MIN_PROFIT] = min_profit;
 | 
								_score_part[owner][SCORE_MIN_PROFIT] = min_profit;
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user