(svn r4467) -Fix: New plantations now cause the correct ".. being planted .." news item (MeusH)
authorcelestar
Tue, 18 Apr 2006 13:16:00 +0000
changeset 3581 e7bbb67ffc00
parent 3580 607e4245d024
child 3582 f4efb79ca326
(svn r4467) -Fix: New plantations now cause the correct ".. being planted .." news item (MeusH)
industry_cmd.c
--- a/industry_cmd.c	Tue Apr 18 08:50:17 2006 +0000
+++ b/industry_cmd.c	Tue Apr 18 13:16:00 2006 +0000
@@ -1814,7 +1814,7 @@
 	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
 	);