rnd-20030220-1-src
[rocksndiamonds.git] / src / libgame / system.c
index 119bf479bb7a55c3061e27b31a990aa746f1c908..201d0131e2ecbe10fa1722859886821e32874a34 100644 (file)
@@ -571,7 +571,7 @@ inline void BlitBitmapOnBackground(Bitmap *src_bitmap, Bitmap *dst_bitmap,
                                   int width, int height,
                                   int dst_x, int dst_y)
 {
-  if (DrawingOnBackground(src_x, src_y))
+  if (DrawingOnBackground(dst_x, dst_y))
   {
     /* draw background */
     BlitBitmap(gfx.background_bitmap, dst_bitmap, dst_x, dst_y, width, height,