summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index 8a9d0548a..a72bf5874 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -946,6 +946,17 @@ static bool RedrawTownAuthority(int32 p1)
return true;
}
+/**
+ * Invalidate the company infrastructure details window after a infrastructure maintenance setting change.
+ * @param p1 Unused.
+ * @return Always true.
+ */
+static bool InvalidateCompanyInfrastructureWindow(int32 p1)
+{
+ InvalidateWindowClassesData(WC_COMPANY_INFRASTRUCTURE);
+ return true;
+}
+
/*
* A: competitors
* B: competitor start time. Deprecated since savegame version 110.