From 8b54aab214a8236b93ac2f5ef6f6c3e950448a69 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 8 Jul 2007 00:25:05 +0000 Subject: (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. --- src/newgrf_industries.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/newgrf_industries.cpp') 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); } -- cgit v1.2.3-54-g00ecf