From 3d8187261a7ea4aea4039cd60a25e3b78c2b2001 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Mon, 19 Sep 2022 19:35:53 +0100 Subject: [PATCH] Debug: Include values when logging GRF base cost changes --- src/newgrf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index df95f17c6b..248b5f0d4e 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -11207,11 +11207,11 @@ static void FinalisePriceBaseMultipliers() if (!HasBit(file->grf_features, _price_base_specs[p].grf_feature)) { /* The grf does not define any objects of the feature, * so it must be a difficulty setting. Apply it globally */ - DEBUG(grf, 3, "'%s' sets global price base multiplier %d", file->filename, p); + DEBUG(grf, 3, "'%s' sets global price base multiplier %d to %d", file->filename, p, price_base_multipliers[p]); SetPriceBaseMultiplier(p, price_base_multipliers[p]); price_base_multipliers[p] = 0; } else { - DEBUG(grf, 3, "'%s' sets local price base multiplier %d", file->filename, p); + DEBUG(grf, 3, "'%s' sets local price base multiplier %d to %d", file->filename, p, price_base_multipliers[p]); } } }