From 08c27d9b5d5aab282d2ee5c38a7313d261b27271 Mon Sep 17 00:00:00 2001 From: Jonathan G Rennison Date: Mon, 17 Nov 2025 17:10:51 +0000 Subject: [PATCH] Fix 98481ecc: Incorrect parsing of var 6x parameter in NewGRF debug window --- src/newgrf_debug_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf_debug_gui.cpp b/src/newgrf_debug_gui.cpp index 8f1eb84031..d9b2f75f1e 100644 --- a/src/newgrf_debug_gui.cpp +++ b/src/newgrf_debug_gui.cpp @@ -597,7 +597,7 @@ struct NewGRFInspectWindow : Window { { if (!str.has_value()) return; - auto val = ParseInteger(*str, 10, true); + auto val = ParseInteger(*str, 16, true); if (!val.has_value()) return; NewGRFInspectWindow::var60params[GetFeatureNum(this->window_number)][this->current_edit_param - 0x60] = *val; this->SetDirty();