mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2026-07-26 00:45:35 +00:00
(svn r24073) [1.2] -Backport from trunk:
- Fix: Wrong numbering of string parameters causing wrong capacities to be shown [FS#5124] (r24058) - Fix: Improve error messages for the placement restrictions of banks, water towers and toy shops [FS#5095] (r24040)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user