(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:
rubidium
2012-03-26 20:36:38 +00:00
parent adcb6aac5a
commit 12fac2345e
44 changed files with 96 additions and 94 deletions
+1 -1
View File
@@ -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();