From 45f34a42038665db891c27ef697b3a4bd2974f70 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 26 Feb 2010 10:08:16 +0000 Subject: (svn r19265) -Fix [FS#3618]: "Can't build here... in the way" showed the to-be-built industry twice, instead of the to-be-built industry and the industry that's in the way --- src/industry_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/industry_cmd.cpp') diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index 3149862b6..ec52c15b0 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -477,7 +477,7 @@ static CommandCost ClearTile_Industry(TileIndex tile, DoCommandFlag flags) (_current_company == OWNER_WATER && ((indspec->behaviour & INDUSTRYBEH_BUILT_ONWATER) || HasBit(GetIndustryTileSpec(GetIndustryGfx(tile))->slopes_refused, 5)))) { - SetDParam(0, indspec->name); + SetDParam(1, indspec->name); return_cmd_error(flags & DC_AUTO ? STR_ERROR_UNMOVABLE_OBJECT_IN_THE_WAY : INVALID_STRING_ID); } -- cgit v1.2.3-54-g00ecf