(svn r4467) -Fix: New plantations now cause the correct ".. being planted .." news item (MeusH)

This commit is contained in:
celestar 2006-04-18 13:16:00 +00:00
parent e75e4e8f74
commit 4287cfb640
1 changed files with 1 additions and 1 deletions

View File

@ -1814,7 +1814,7 @@ static void MaybeNewIndustry(uint32 r)
SetDParam(0, type + STR_4802_COAL_MINE);
SetDParam(1, i->town->index);
AddNewsItem(
(type != IT_FOREST) ?
(type != IT_FOREST && type != IT_FRUIT_PLANTATION && type != IT_RUBBER_PLANTATION && type != IT_COTTON_CANDY) ?
STR_482D_NEW_UNDER_CONSTRUCTION : STR_482E_NEW_BEING_PLANTED_NEAR,
NEWS_FLAGS(NM_THIN, NF_VIEWPORT|NF_TILE, NT_ECONOMY,0), i->xy, 0
);