X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fscreens.c;h=52db91592ee33a6f3035ff0fe81beebcda516994;hb=8d0beabe68b9ba841569d00befbe68571c09c140;hp=1233b803dbe8b7b57c664c596acf0509fde28a72;hpb=f8e6aa30ec5bca3cea709cead3d9b6ebfdcdbf09;p=rocksndiamonds.git diff --git a/src/screens.c b/src/screens.c index 1233b803..52db9159 100644 --- a/src/screens.c +++ b/src/screens.c @@ -1598,6 +1598,7 @@ static void DrawTitleScreenImage(int nr, boolean initial) { int graphic = getTitleScreenGraphic(nr, initial); Bitmap *bitmap = graphic_info[graphic].bitmap; + int draw_masked = graphic_info[graphic].draw_masked; int width = graphic_info[graphic].width; int height = graphic_info[graphic].height; int src_x = graphic_info[graphic].src_x; @@ -1630,7 +1631,7 @@ static void DrawTitleScreenImage(int nr, boolean initial) ClearRectangleOnBackground(drawto, 0, 0, WIN_XSIZE, WIN_YSIZE); - if (DrawingOnBackground(dst_x, dst_y)) + if (DrawingOnBackground(dst_x, dst_y) && draw_masked) BlitBitmapMasked(bitmap, drawto, src_x, src_y, width, height, dst_x, dst_y); else BlitBitmap(bitmap, drawto, src_x, src_y, width, height, dst_x, dst_y);