tunnelbridge_cmd.c
changeset 3534 73b04ea04c28
parent 3533 05537e42e2dc
child 3535 aaec72f71226
equal deleted inserted replaced
3533:05537e42e2dc 3534:73b04ea04c28
   931 
   931 
   932 		if (ice) image += 32;
   932 		if (ice) image += 32;
   933 
   933 
   934 		image += GetTunnelDirection(ti->tile) * 2;
   934 		image += GetTunnelDirection(ti->tile) * 2;
   935 		DrawGroundSprite(image);
   935 		DrawGroundSprite(image);
   936 		if (GetRailType(ti->tile)) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
   936 		if (GetRailType(ti->tile) == RAILTYPE_ELECTRIC) DrawCatenary(ti);
   937 
   937 
   938 		AddSortableSpriteToDraw(image+1, ti->x + 15, ti->y + 15, 1, 1, 8, (byte)ti->z);
   938 		AddSortableSpriteToDraw(image+1, ti->x + 15, ti->y + 15, 1, 1, 8, (byte)ti->z);
   939 	} else if (IsBridge(ti->tile)) { // XXX is this necessary?
   939 	} else if (IsBridge(ti->tile)) { // XXX is this necessary?
   940 		int base_offset;
   940 		int base_offset;
   941 
   941