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
commitb5fa656a30886b95ab98d56bc856f315535addcf (patch)
tree9f414d01cf1eb323ea063eeacef5754b65344be7
parent277f8cbda27bad0b199ae5ec38012d160b5eb8e5 (diff)
downloadopenttd-b5fa656a30886b95ab98d56bc856f315535addcf.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
);