diff options
author | rubidium <rubidium@openttd.org> | 2007-07-08 00:25:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-07-08 00:25:05 +0000 |
commit | 8b54aab214a8236b93ac2f5ef6f6c3e950448a69 (patch) | |
tree | fe85486dbb45adde5b5af125a9d4dae18bbdd0a7 /src/newgrf_industries.cpp | |
parent | e51d9d4fbd5637b7e3e880ec1a0d6bd2b198eccf (diff) | |
download | openttd-8b54aab214a8236b93ac2f5ef6f6c3e950448a69.tar.xz |
(svn r10473) -Codechange: make the industry "window", the one that shows when you click on an industry, more flexible to allow easier integration with newindustries.
Diffstat (limited to 'src/newgrf_industries.cpp')
-rw-r--r-- | src/newgrf_industries.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_industries.cpp b/src/newgrf_industries.cpp index 6eb97ebee..6e43322fb 100644 --- a/src/newgrf_industries.cpp +++ b/src/newgrf_industries.cpp @@ -295,4 +295,6 @@ void IndustryProductionCallback(Industry *ind, int reason) SB(object.callback_param2, 24, 8, again); } + + InvalidateWindow(WC_INDUSTRY_VIEW, ind->index); } |