equal
deleted
inserted
replaced
1524 |
1524 |
1525 image = *(const uint16*)s; |
1525 image = *(const uint16*)s; |
1526 if (image & 0x8000) image = (image & 0x7FFF) + tracktype_offs; |
1526 if (image & 0x8000) image = (image & 0x7FFF) + tracktype_offs; |
1527 |
1527 |
1528 // adjust ground tile for desert |
1528 // adjust ground tile for desert |
1529 // (don't adjust for arctic, because snow in depots looks weird) |
1529 // (don't adjust for arctic depots, because snow in depots looks weird) |
1530 if ((_map2[ti->tile] & RAIL_MAP2LO_GROUND_MASK)==RAIL_GROUND_ICE_DESERT && _opt.landscape == LT_DESERT) |
1530 if ((_map2[ti->tile] & RAIL_MAP2LO_GROUND_MASK)==RAIL_GROUND_ICE_DESERT && (_opt.landscape == LT_DESERT || type>=4)) |
1531 { |
1531 { |
1532 if(image!=3981) |
1532 if(image!=3981) |
1533 image += 26; // tile with tracks |
1533 image += 26; // tile with tracks |
1534 else |
1534 else |
1535 image = 4550; // flat ground |
1535 image = 4550; // flat ground |