(svn r25238) -Feature: Display imminent closure of an industry in its view window.

This commit is contained in:
alberth
2013-05-12 19:38:30 +00:00
parent 7671ea3b43
commit 1b5b4db690
3 changed files with 7 additions and 0 deletions

View File

@@ -2600,6 +2600,7 @@ static void ChangeIndustryProduction(Industry *i, bool monthly)
/* Close if needed and allowed */
if (closeit && !CheckIndustryCloseDownProtection(i->type)) {
i->prod_level = PRODLEVEL_CLOSURE;
SetWindowDirty(WC_INDUSTRY_VIEW, i->index);
str = indspec->closure_text;
}