equal
deleted
inserted
replaced
2321 image += total_offset; |
2321 image += total_offset; |
2322 } |
2322 } |
2323 DrawGroundSprite(image, HasBit(image, PALETTE_MODIFIER_COLOR) ? palette : PAL_NONE); |
2323 DrawGroundSprite(image, HasBit(image, PALETTE_MODIFIER_COLOR) ? palette : PAL_NONE); |
2324 } |
2324 } |
2325 |
2325 |
2326 // if ground tile 0x0F8D, but tile is desert/snow, then choose desert/snow graphic |
2326 // for FSM ports only, if ground tile 0x0F8D, but airport key tile is desert/snow, then choose desert/snow graphic |
2327 if ((image == 0x0F8D) && (GetTropicZone(ti->tile) == TROPICZONE_DESERT)) |
2327 if (FSMport) { |
2328 image = 0x11C6; // snow tile (arctic) or desert tile (tropical) |
2328 if ((image == 0x0F8D) && (GetTropicZone(st->airport_tile) == TROPICZONE_DESERT)) |
|
2329 image = 0x11C6; // snow tile (arctic) or desert tile (tropical) |
|
2330 } |
2329 |
2331 |
2330 /* station_land array has been increased from 82 elements to 114 |
2332 /* station_land array has been increased from 82 elements to 114 |
2331 * but this is something else. If AI builds station with 114 it looks all weird */ |
2333 * but this is something else. If AI builds station with 114 it looks all weird */ |
2332 DrawGroundSprite(image, HasBit(image, PALETTE_MODIFIER_COLOR) ? palette : PAL_NONE); |
2334 DrawGroundSprite(image, HasBit(image, PALETTE_MODIFIER_COLOR) ? palette : PAL_NONE); |
2333 |
2335 |