File diff r6437:a2b305ac4fc1 → r6438:364eac743a97
src/industry_cmd.cpp
Show inline comments
 
@@ -1161,7 +1161,10 @@ static bool CheckIfIndustryTilesAreFree(
 
			IndustyBehaviour ind_behav = GetIndustrySpec(type)->behaviour;
 

	
 
			if (ind_behav & INDUSTRYBEH_BUILT_ONWATER) {
 
				return IsClearWaterTile(cur_tile);
 
				/* As soon as the tile is not water, bail out.
 
				 * But that does not mean the search is over.  You have
 
				 * to make sure every tile of the industry will be only water*/
 
				if (!IsClearWaterTile(cur_tile)) return false;
 
			} else {
 
				Slope tileh;