mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r23139) -Change: [NewGRF v8] Do no longer apply base cost fallbacks.
This commit is contained in:
parent
46e77ee24f
commit
8999f6b73c
@ -8682,9 +8682,10 @@ static void FinalisePriceBaseMultipliers()
|
||||
}
|
||||
}
|
||||
|
||||
/* Apply fallback prices */
|
||||
/* Apply fallback prices for grf version < 8 */
|
||||
const GRFFile * const *end = _grf_files.End();
|
||||
for (GRFFile **file = _grf_files.Begin(); file != end; file++) {
|
||||
if ((*file)->grf_version >= 8) continue;
|
||||
PriceMultipliers &price_base_multipliers = (*file)->price_base_multipliers;
|
||||
for (Price p = PR_BEGIN; p < PR_END; p++) {
|
||||
Price fallback_price = _price_base_specs[p].fallback_price;
|
||||
|
Loading…
Reference in New Issue
Block a user