mirror of https://github.com/OpenTTD/OpenTTD.git
(svn r1911) Put back an "if" i accidently removed in r1898
This commit is contained in:
parent
f55bde6ee4
commit
9efcfc65af
|
@ -142,7 +142,8 @@ int UpdateCompanyRatingAndValue(Player *p, bool update)
|
||||||
}
|
}
|
||||||
|
|
||||||
_score_part[owner][SCORE_VEHICLES] = num;
|
_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 */
|
/* Count stations */
|
||||||
|
|
Loading…
Reference in New Issue