summaryrefslogtreecommitdiff
path: root/src/station_cmd.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-02-26 10:08:16 +0000
committerrubidium <rubidium@openttd.org>2010-02-26 10:08:16 +0000
commit45f34a42038665db891c27ef697b3a4bd2974f70 (patch)
tree7b8b2066013d0bae1c06a9a15fe26d6e250c0f66 /src/station_cmd.cpp
parenteb220617d555925879a9e81a7911769b8f6c5a9d (diff)
downloadopenttd-45f34a42038665db891c27ef697b3a4bd2974f70.tar.xz
(svn r19265) -Fix [FS#3618]: "Can't build <industry> here... <industry> 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
Diffstat (limited to 'src/station_cmd.cpp')
-rw-r--r--src/station_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/station_cmd.cpp b/src/station_cmd.cpp
index 8ca62a8df..40e28e7c4 100644
--- a/src/station_cmd.cpp
+++ b/src/station_cmd.cpp
@@ -3419,7 +3419,7 @@ CommandCost ClearTile_Station(TileIndex tile, DoCommandFlag flags)
case STATION_BUOY: return_cmd_error(STR_ERROR_BUOY_IN_THE_WAY);
case STATION_DOCK: return_cmd_error(STR_ERROR_MUST_DEMOLISH_DOCK_FIRST);
case STATION_OILRIG:
- SetDParam(0, STR_INDUSTRY_NAME_OIL_RIG);
+ SetDParam(1, STR_INDUSTRY_NAME_OIL_RIG);
return_cmd_error(STR_ERROR_UNMOVABLE_OBJECT_IN_THE_WAY);
}
}