# HG changeset patch # User glx # Date 2007-12-10 17:26:49 # Node ID 59ce447c2bdbc14a483cf873d07314a9722eb0e4 # Parent 25084e2906e09d3e733144cdc1cc99db6388d298 (svn r11615) -Fix (r11609): temperate banks can only be built in towns (over a house) diff --git a/src/industry_cmd.cpp b/src/industry_cmd.cpp --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1236,7 +1236,7 @@ static bool CheckIfIndustryTilesAreFree( 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;