mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-09 15:41:15 +00:00
(svn r11615) -Fix (r11609): temperate banks can only be built in towns (over a house)
This commit is contained in:
parent
9124331b0d
commit
ac7c79f039
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user