diff options
author | tron <tron@openttd.org> | 2005-01-15 08:58:31 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-01-15 08:58:31 +0000 |
commit | 3279a7c9a26242f5f0a8e4b41ae6e2d9e24ee169 (patch) | |
tree | e70312993e66c5b848feb30831527cca401c08f8 /industry_cmd.c | |
parent | 7f7c6297f7bb6bb225741773a5438a916a91da08 (diff) | |
download | openttd-3279a7c9a26242f5f0a8e4b41ae6e2d9e24ee169.tar.xz |
(svn r1520) Trim 134 (!) lines with trailing whitespace ):
Diffstat (limited to 'industry_cmd.c')
-rw-r--r-- | industry_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/industry_cmd.c b/industry_cmd.c index dc7b9db00..d76013d9b 100644 --- a/industry_cmd.c +++ b/industry_cmd.c @@ -1376,8 +1376,8 @@ static bool CheckIfTooCloseToIndustry(uint tile, int type) if (i->xy != 0 && (GetTileDist1D(tile, i->xy) <= 14) && spec->accepts_cargo[0] != 0xFF && - spec->accepts_cargo[0] == i->accepts_cargo[0] && - !(_game_mode == GM_EDITOR && + spec->accepts_cargo[0] == i->accepts_cargo[0] && + !(_game_mode == GM_EDITOR && _patches.same_industry_close && _patches.multiple_industry_per_town)) { _error_message = STR_INDUSTRY_TOO_CLOSE; |