1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-27 16:39:09 +00:00

(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

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 */