From 6430b05c82cdb8a7910c5fa413151407dbe4168d Mon Sep 17 00:00:00 2001 From: dP Date: Sun, 28 Sep 2025 20:02:31 +0500 Subject: [PATCH] Fix crash when funding new industry --- src/industry_gui.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index 08e78d9767..8a4396b41f 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -7,6 +7,7 @@ /** @file industry_gui.cpp GUIs related to industries. */ +#include "gfx_type.h" #include "stdafx.h" #include #include "error.h" @@ -291,7 +292,7 @@ static constexpr NWidgetPart _nested_build_industry_widgets[] = { EndContainer(), NWidget(WWT_PANEL, COLOUR_DARK_GREEN), SetResize(1, 0), NWidget(NWID_HORIZONTAL), SetPIP(2, 0, 2), - NWidget(WWT_LABEL, COLOUR_DARK_GREEN), SetMinimalSize(140, 14), SetStringTip(CM_STR_FUND_INDUSTRY_FORBIDDEN_TILES_TITLE), + NWidget(WWT_LABEL, INVALID_COLOUR), SetMinimalSize(140, 14), SetStringTip(CM_STR_FUND_INDUSTRY_FORBIDDEN_TILES_TITLE), NWidget(NWID_SPACER), SetFill(1, 0), EndContainer(), NWidget(NWID_HORIZONTAL), SetPIP(2, 0, 2),