equal
deleted
inserted
replaced
3407 for (; p->mode == 0; p++) { |
3407 for (; p->mode == 0; p++) { |
3408 TileIndex tile2 = TILE_ADD(tile, ToTileIndexDiff(p->tileoffs)); |
3408 TileIndex tile2 = TILE_ADD(tile, ToTileIndexDiff(p->tileoffs)); |
3409 const AirportFTAClass* airport = GetAirport(p->attr); |
3409 const AirportFTAClass* airport = GetAirport(p->attr); |
3410 uint w = airport->size_x; |
3410 uint w = airport->size_x; |
3411 uint h = airport->size_y; |
3411 uint h = airport->size_y; |
3412 uint rad = _patches.modified_catchment ? airport->catchment : CA_UNMODIFIED; |
3412 uint rad = _patches.modified_catchment ? airport->catchment : (uint)CA_UNMODIFIED; |
3413 |
3413 |
3414 if (cargo & 0x80) { |
3414 if (cargo & 0x80) { |
3415 GetProductionAroundTiles(values, tile2, w, h, rad); |
3415 GetProductionAroundTiles(values, tile2, w, h, rad); |
3416 return values[cargo & 0x7F] != 0; |
3416 return values[cargo & 0x7F] != 0; |
3417 } else { |
3417 } else { |