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 | 4320447aef966b80cd87ed0044257d47124a5b38 (patch) | |
tree | 9b46e335c0db90d8437a9e5bf15b9bc8ea889562 /src/industry_cmd.cpp | |
parent | 7638c9b165ab22243875dcbeee9357b2643b9618 (diff) | |
download | openttd-4320447aef966b80cd87ed0044257d47124a5b38.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; |