forked from mirror/OpenTTD
(svn r25238) -Feature: Display imminent closure of an industry in its view window.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user