station_cmd.c
changeset 497 2d6d31173813
parent 494 7b7718826dc3
child 500 ef288590e096
--- a/station_cmd.c	Tue Nov 23 20:54:51 2004 +0000
+++ b/station_cmd.c	Tue Nov 23 22:36:11 2004 +0000
@@ -1950,9 +1950,9 @@
 		// For custom sprites, there's no railtype-based pitching.
 		image += railtype * ((image & 0x3FFF) < _custom_sprites_base ? TRACKTYPE_SPRITE_PITCH : 0);
 		if (_display_opt & DO_TRANS_BUILDINGS) {
+			image = (image & 0x3FFF) | 0x03224000;
+		} else {
 			if (image&0x8000) image |= image_or_modificator;	
-		} else {
-			image = (image & 0x3FFF) | 0x03224000;
 		}
 
 		if ((byte)dtss->delta_z != 0x80) {