rnd-20030107-1-src
[rocksndiamonds.git] / src / libgame / system.c
index ff7d8e545dd9f6c0c422eea8036cbe5247c1e453..3c4613fbe76f704cb3fce24ca92ec2763e7651ff 100644 (file)
@@ -510,8 +510,7 @@ inline void ClearRectangleOnBackground(Bitmap *bitmap, int x, int y,
                                       int width, int height)
 {
   if (DrawingOnBackground(x, y))
-    BlitBitmap(gfx.background_bitmap, bitmap,
-              x - gfx.real_sx, y - gfx.real_sy, width, height, x, y);
+    BlitBitmap(gfx.background_bitmap, bitmap, x, y, width, height, x, y);
   else
     ClearRectangle(bitmap, x, y, width, height);
 }