forked from mirror/OpenTTD
(svn r11420) -Fix [FS#1006]: industry closure news not properly shown when the news item pops up after the industry has been removed from the map.
This commit is contained in:
@@ -1993,6 +1993,10 @@ static void ChangeIndustryProduction(Industry *i, bool monthly)
|
||||
SetDParam(0, STR_TOWN);
|
||||
SetDParam(1, i->town->index);
|
||||
SetDParam(2, indspec->name);
|
||||
} else if (closeit) {
|
||||
SetDParam(0, STR_INDUSTRY_FORMAT);
|
||||
SetDParam(1, i->town->index);
|
||||
SetDParam(2, indspec->name);
|
||||
} else {
|
||||
SetDParam(0, i->index);
|
||||
}
|
||||
|
Reference in New Issue
Block a user