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();