mirror of https://github.com/OpenTTD/OpenTTD
This is a quick fix by @KeldorKatarn:
65e656b9d6
It has the drawback that snow is draw to the inside the depots as well, as the removed comment suggests.
pull/7759/head
parent
652fb40652
commit
f1712a54b2
|
@ -2472,9 +2472,8 @@ static void DrawTile_Track(TileInfo *ti)
|
||||||
if (image != SPR_FLAT_GRASS_TILE) image += rti->GetRailtypeSpriteOffset();
|
if (image != SPR_FLAT_GRASS_TILE) image += rti->GetRailtypeSpriteOffset();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* adjust ground tile for desert
|
/* Adjust ground tile for desert and snow. */
|
||||||
* don't adjust for snow, because snow in depots looks weird */
|
if (IsSnowRailGround(ti->tile)) {
|
||||||
if (IsSnowRailGround(ti->tile) && _settings_game.game_creation.landscape == LT_TROPIC) {
|
|
||||||
if (image != SPR_FLAT_GRASS_TILE) {
|
if (image != SPR_FLAT_GRASS_TILE) {
|
||||||
image += rti->snow_offset; // tile with tracks
|
image += rti->snow_offset; // tile with tracks
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue