This commit is contained in:
@@ -215,7 +215,7 @@ int UpdateCompanyRatingAndValue(Company *c, bool update)
|
||||
if (v->owner != owner) continue;
|
||||
if (IsCompanyBuildableVehicleType(v->type) && v->IsPrimaryVehicle()) {
|
||||
if (v->profit_last_year > 0) num++; // For the vehicle score only count profitable vehicles
|
||||
if (v->age > 730) {
|
||||
if (v->economy_age > VEHICLE_PROFIT_MIN_AGE) {
|
||||
/* Find the vehicle with the lowest amount of profit */
|
||||
if (min_profit_first || min_profit > v->profit_last_year) {
|
||||
min_profit = v->profit_last_year;
|
||||
|
Reference in New Issue
Block a user