Mercurial > hg > openttd
changeset 8054:f42476d959b8 draft
(svn r11615) -Fix (r11609): temperate banks can only be built in towns (over a house)
author | glx <glx@openttd.org> |
---|---|
date | Mon, 10 Dec 2007 17:26:49 +0000 |
parents | 398d65e8ca14 |
children | 9748a80ff2f5 |
files | src/industry_cmd.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/industry_cmd.cpp +++ b/src/industry_cmd.cpp @@ -1236,7 +1236,7 @@ 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;