rail_cmd.c
changeset 283 c1a99d78e5a3
parent 282 08af1e5feb66
child 337 66647f97e7c0
--- a/rail_cmd.c	Fri Sep 17 20:49:47 2004 +0000
+++ b/rail_cmd.c	Fri Sep 17 20:56:28 2004 +0000
@@ -1526,8 +1526,8 @@
 		if (image & 0x8000) image = (image & 0x7FFF) + tracktype_offs;
 
 		// adjust ground tile for desert
-		// (don't adjust for arctic, because snow in depots looks weird)
-		if ((_map2[ti->tile] & RAIL_MAP2LO_GROUND_MASK)==RAIL_GROUND_ICE_DESERT && _opt.landscape == LT_DESERT)
+		// (don't adjust for arctic depots, because snow in depots looks weird)
+		if ((_map2[ti->tile] & RAIL_MAP2LO_GROUND_MASK)==RAIL_GROUND_ICE_DESERT && (_opt.landscape == LT_DESERT || type>=4))
 		{
 			if(image!=3981)
 				image += 26; // tile with tracks