From f0f964577d6010417db0abe046aaa4ca1fe57530 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 e9ba84f5c9..f7b7b37ff9 100644 --- a/src/newgrf_debug_gui.cpp +++ b/src/newgrf_debug_gui.cpp @@ -594,7 +594,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();