(svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself.
This commit is contained in:
@@ -290,7 +290,7 @@ static CommandCost GetRefitCost(EngineID engine_type)
|
||||
|
||||
default: NOT_REACHED();
|
||||
}
|
||||
return CommandCost(expense_type, GetPrice(base_price, cost_factor, -10));
|
||||
return CommandCost(expense_type, GetPrice(base_price, cost_factor, e->grffile, -10));
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user