diff options
author | belugas <belugas@openttd.org> | 2007-12-01 01:31:05 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-12-01 01:31:05 +0000 |
commit | aa0d37854deb7e7fa93d63e449ad478b7c452344 (patch) | |
tree | e2e72e326a48ed919fb832288c86901d7da9bab2 /src/industry_cmd.cpp | |
parent | 6b68c6557b115426d967e0c753df757020c3340a (diff) | |
download | openttd-aa0d37854deb7e7fa93d63e449ad478b7c452344.tar.xz |
(svn r11543) -Codechange: Give a more adequate message when trying to place an industry required to be built over a house on any other type of tiles.
In reference to FS#1492, and other "bugs" like that one
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r-- | src/industry_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index ca920aabc..c7cd020ab 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1238,7 +1238,7 @@ static bool CheckIfIndustryTilesAreFree(TileIndex tile, const IndustryTileTable if (ind_behav & (INDUSTRYBEH_ONLY_INTOWN | INDUSTRYBEH_TOWN1200_MORE)) { if (!IsTileType(cur_tile, MP_HOUSE)) { - _error_message = STR_029D_CAN_ONLY_BE_BUILT_IN_TOWNS; + _error_message = STR_INDUSTRY_MUST_BE_BUILT_ON_HOUSE; return false; } if (CmdFailed(DoCommand(cur_tile, 0, 0, 0, CMD_LANDSCAPE_CLEAR))) return false; |