equal
deleted
inserted
replaced
1194 } |
1194 } |
1195 } else { |
1195 } else { |
1196 if (!EnsureNoVehicle(cur_tile)) return false; |
1196 if (!EnsureNoVehicle(cur_tile)) return false; |
1197 if (MayHaveBridgeAbove(cur_tile) && IsBridgeAbove(cur_tile)) return false; |
1197 if (MayHaveBridgeAbove(cur_tile) && IsBridgeAbove(cur_tile)) return false; |
1198 |
1198 |
1199 const IndustryTileSpec *its = GetIndustryTileSpec(it->gfx); |
1199 const IndustryTileSpec *its = GetIndustryTileSpec(gfx); |
|
1200 |
1200 IndustyBehaviour ind_behav = GetIndustrySpec(type)->behaviour; |
1201 IndustyBehaviour ind_behav = GetIndustrySpec(type)->behaviour; |
1201 |
1202 |
1202 if (HASBIT(its->callback_flags, CBM_INDT_SHAPE_CHECK)) { |
1203 if (HASBIT(its->callback_flags, CBM_INDT_SHAPE_CHECK)) { |
1203 if (custom_shape_check != NULL) *custom_shape_check = true; |
1204 if (custom_shape_check != NULL) *custom_shape_check = true; |
1204 if (!PerformIndustryTileSlopeCheck(cur_tile, its, type, gfx)) return false; |
1205 if (!PerformIndustryTileSlopeCheck(cur_tile, its, type, gfx)) return false; |