diff options
author | glx <glx@openttd.org> | 2007-11-11 00:04:52 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-11-11 00:04:52 +0000 |
commit | 63b36d9330dde1706dd7c2bea5b3f54db782f59c (patch) | |
tree | f5b220d7bfd506e89a769bfdac5c32a2eec50246 /src/industry_cmd.cpp | |
parent | 2e44d2aedbaeef2410e28e93f691c1deb5a3db78 (diff) | |
download | openttd-63b36d9330dde1706dd7c2bea5b3f54db782f59c.tar.xz |
(svn r11402) -Fix [FS#1382]: incorrect handling of industry behaviour 'must be in town with population large than 1200'
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 621495b94..0a7e6a502 100644 --- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1233,7 +1233,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_029D_CAN_ONLY_BE_BUILT_IN_TOWNS; return false; |