(svn r11615) -Fix (r11609): temperate banks can only be built in towns (over a house)

This commit is contained in:
glx 2007-12-10 17:26:49 +00:00
parent 7638c9b165
commit 4320447aef

View File

@ -1236,7 +1236,7 @@ static bool CheckIfIndustryTilesAreFree(TileIndex tile, const IndustryTileTable
refused_slope |= IsSlopeRefused(tileh, its->slopes_refused);
}
if (ind_behav & (INDUSTRYBEH_ONLY_INTOWN)) {
if (ind_behav & (INDUSTRYBEH_ONLY_INTOWN | INDUSTRYBEH_TOWN1200_MORE)) {
if (!IsTileType(cur_tile, MP_HOUSE)) {
_error_message = STR_030D_CAN_ONLY_BE_BUILT_IN_TOWNS;
return false;