summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcelestar <celestar@openttd.org>2006-04-18 13:16:00 +0000
committercelestar <celestar@openttd.org>2006-04-18 13:16:00 +0000
commit4287cfb6404a6cde029f1790628d9f2e4882cfb1 (patch)
tree9f414d01cf1eb323ea063eeacef5754b65344be7
parente75e4e8f74614e360414c7ec43899b8c461c911f (diff)
downloadopenttd-4287cfb6404a6cde029f1790628d9f2e4882cfb1.tar.xz
(svn r4467) -Fix: New plantations now cause the correct ".. being planted .." news item (MeusH)
-rw-r--r--industry_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/industry_cmd.c b/industry_cmd.c
index c84248abe..dd53f5e26 100644
--- a/industry_cmd.c
+++ b/industry_cmd.c
@@ -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
);