diff options
author | glx <glx@openttd.org> | 2007-12-10 17:26:49 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-12-10 17:26:49 +0000 |
commit | ac7c79f039f43aed145c327b06ea9edadfbbe7f3 (patch) | |
tree | 9b46e335c0db90d8437a9e5bf15b9bc8ea889562 /src/industry_cmd.cpp | |
parent | 9124331b0df040e621dc383bfc472fdca13d7969 (diff) | |
download | openttd-ac7c79f039f43aed145c327b06ea9edadfbbe7f3.tar.xz |
(svn r11615) -Fix (r11609): temperate banks can only be built in towns (over a house)
Diffstat (limited to 'src/industry_cmd.cpp')
-rw-r--r-- | src/industry_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |