File diff r7921:8e674055514f → r7922:d7c3cc15726d
src/economy.cpp
Show inline comments
 
@@ -212,7 +212,7 @@ int UpdateCompanyRatingAndValue(Player *
 
			/* Skip the total */
 
			if (i == SCORE_TOTAL) continue;
 
			/*  Check the score */
 
			s = clamp(_score_part[owner][i], 0, _score_info[i].needed) * _score_info[i].score / _score_info[i].needed;
 
			s = Clamp(_score_part[owner][i], 0, _score_info[i].needed) * _score_info[i].score / _score_info[i].needed;
 
			score += s;
 
			total_score += _score_info[i].score;
 
		}