/* Check whether this industry provides its own station */
bool oil_rig = false;
TILE_AREA_LOOP(tile_cur, ind->location) {
if (IsTileType(tile_cur, MP_INDUSTRY) && GetIndustryGfx(tile_cur) == GFX_OILRIG_1) {
TileIndex other = tile_cur + TileDiffXY(0, -1);
if (IsTileType(other, MP_STATION) && IsOilRig(other) ||
IsTileType(other, MP_INDUSTRY) && GetIndustryGfx(other) == GFX_OILRIG_1 && ind->index == GetIndustryIndex(other)) {
oil_rig = true;
}
} else if (IsTileType(tile_cur, MP_STATION) && IsOilRig(tile_cur)) {
TileIndex other = tile_cur + TileDiffXY(0, 1);
if (IsTileType(other, MP_INDUSTRY) && GetIndustryGfx(other) == GFX_OILRIG_1 && ind->index == GetIndustryIndex(other)) {
oil_rig = true;
}
}
}