diff options
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r-- | src/industry_cmd.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index e5329e15b..5349f7d93 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -2627,10 +2627,11 @@ static void ChangeIndustryProduction(Industry *i, bool monthly) SetDParam(0, i->index); } /* and report the news to the user */ - AddNewsItem(str, - ns, - closeit ? NR_TILE : NR_INDUSTRY, - closeit ? i->location.tile + TileDiffXY(1, 1) : i->index); + if (closeit) { + AddTileNewsItem(str, ns, i->location.tile + TileDiffXY(1, 1)); + } else { + AddIndustryNewsItem(str, ns, i->index); + } } } |