From ac7c79f039f43aed145c327b06ea9edadfbbe7f3 Mon Sep 17 00:00:00 2001 From: glx Date: Mon, 10 Dec 2007 17:26:49 +0000 Subject: (svn r11615) -Fix (r11609): temperate banks can only be built in towns (over a house) --- src/industry_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/industry_cmd.cpp') diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp index c400cb33b..987aa3fd5 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -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; -- cgit v1.2.3-54-g00ecf