(svn r1911) Put back an "if" i accidently removed in r1898

This commit is contained in:
tron 2005-02-23 14:12:32 +00:00
parent f55bde6ee4
commit 9efcfc65af
1 changed files with 2 additions and 1 deletions

View File

@ -142,7 +142,8 @@ int UpdateCompanyRatingAndValue(Player *p, bool update)
}
_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 */