src/industry_cmd.cpp
changeset 8471 ba4c15fe147b
parent 8459 86e0352eb993
child 8516 4b3cba59c003
--- a/src/industry_cmd.cpp	Sat Feb 02 03:23:26 2008 +0000
+++ b/src/industry_cmd.cpp	Sat Feb 02 09:28:43 2008 +0000
@@ -1226,7 +1226,7 @@
 			IndustryBehaviour ind_behav = GetIndustrySpec(type)->behaviour;
 
 			/* Perform land/water check if not disabled */
-			if (!HasBit(its->slopes_refused, 5) && ((IsWaterTile(cur_tile) || IsRiverTile(cur_tile)) == !(ind_behav & INDUSTRYBEH_BUILT_ONWATER))) return false;
+			if (!HasBit(its->slopes_refused, 5) && (IsWaterTile(cur_tile) == !(ind_behav & INDUSTRYBEH_BUILT_ONWATER))) return false;
 
 			if (HasBit(its->callback_flags, CBM_INDT_SHAPE_CHECK)) {
 				custom_shape = true;