summaryrefslogtreecommitdiff
path: root/src/industry_cmd.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-03-17 19:48:26 +0000
committerfrosch <frosch@openttd.org>2012-03-17 19:48:26 +0000
commita1f2ad880dc3fb49e1184be52ecea5522edea7ae (patch)
tree7dea5db1e125e4be94e4cd0aca5205d3676e2008 /src/industry_cmd.cpp
parent1a11a99a24913373c8480be113ea019442b25a72 (diff)
downloadopenttd-a1f2ad880dc3fb49e1184be52ecea5522edea7ae.tar.xz
(svn r24040) -Fix [FS#5095]: Improve error messages wrt. the placement restrictions of banks, water towers and toy shops.
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r--src/industry_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp
index 8a3effbd2..891798424 100644
--- a/src/industry_cmd.cpp
+++ b/src/industry_cmd.cpp
@@ -1455,7 +1455,7 @@ static CommandCost CheckIfIndustryIsAllowed(TileIndex tile, int type, const Town
}
if ((GetIndustrySpec(type)->behaviour & INDUSTRYBEH_ONLY_NEARTOWN) && DistanceMax(t->xy, tile) > 9) {
- return_cmd_error(STR_ERROR_SITE_UNSUITABLE);
+ return_cmd_error(STR_ERROR_CAN_ONLY_BE_BUILT_NEAR_TOWN_CENTER);
}
return CommandCost();