Changeset - r6859:975723bf640c
[Not reviewed]
master
0 1 0
belugas - 17 years ago 2007-06-11 14:25:38
belugas@openttd.org
(svn r10099) -Fix(r9867, FS860): Use the specs of the to-be-created industry instead of the scanned industry
Spotted by Oxygene
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/industry_cmd.cpp
Show inline comments
 
@@ -1308,7 +1308,7 @@ static bool CheckIfTooCloseToIndustry(Ti
 
		/* check if an industry that accepts the same goods is nearby */
 
		if (DistanceMax(tile, i->xy) <= 14 &&
 
				indspec->accepts_cargo[0] != CT_INVALID &&
 
				indspec->accepts_cargo[0] == indspec->accepts_cargo[0] && (
 
				indspec->accepts_cargo[0] == GetIndustrySpec(i->type)->accepts_cargo[0] && (
 
					_game_mode != GM_EDITOR ||
 
					!_patches.same_industry_close ||
 
					!_patches.multiple_industry_per_town
0 comments (0 inline, 0 general)