equal
deleted
inserted
replaced
1219 if (!IsTileType(cur_tile, MP_WATER) || |
1219 if (!IsTileType(cur_tile, MP_WATER) || |
1220 GetTileSlope(cur_tile, NULL) != SLOPE_FLAT) { |
1220 GetTileSlope(cur_tile, NULL) != SLOPE_FLAT) { |
1221 return false; |
1221 return false; |
1222 } |
1222 } |
1223 } else { |
1223 } else { |
1224 if (!EnsureNoVehicle(cur_tile)) return false; |
1224 if (!EnsureNoVehicleOnGround(cur_tile)) return false; |
1225 if (MayHaveBridgeAbove(cur_tile) && IsBridgeAbove(cur_tile)) return false; |
1225 if (MayHaveBridgeAbove(cur_tile) && IsBridgeAbove(cur_tile)) return false; |
1226 |
1226 |
1227 const IndustryTileSpec *its = GetIndustryTileSpec(gfx); |
1227 const IndustryTileSpec *its = GetIndustryTileSpec(gfx); |
1228 |
1228 |
1229 IndustryBehaviour ind_behav = GetIndustrySpec(type)->behaviour; |
1229 IndustryBehaviour ind_behav = GetIndustrySpec(type)->behaviour; |