From 8999f6b73c92b256fe0cf4055808c054a7983da6 Mon Sep 17 00:00:00 2001 From: frosch Date: Tue, 8 Nov 2011 17:24:01 +0000 Subject: [PATCH] (svn r23139) -Change: [NewGRF v8] Do no longer apply base cost fallbacks. --- src/newgrf.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 61815e7051..e5d3691e69 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -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;