diff options
author | michi_cc <michi_cc@openttd.org> | 2011-12-03 23:40:46 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2011-12-03 23:40:46 +0000 |
commit | d3b7b89493e025654d218fb77da095649b4f6ba2 (patch) | |
tree | 6667e4164c5c8bda4c1b7092376872b315c65610 /src/settings.cpp | |
parent | f98312eb77e12cfa45de40a1b4e8359160b0d9ff (diff) | |
download | openttd-d3b7b89493e025654d218fb77da095649b4f6ba2.tar.xz |
(svn r23415) -Feature: Infrastructure maintenance costs.
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 11 |
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. |