rnd-20030125-1-src
[rocksndiamonds.git] / src / libgame / system.c
index ff7d8e545dd9f6c0c422eea8036cbe5247c1e453..301cb271d28c69b065bd17ead43b8b544d3ba4a7 100644 (file)
@@ -37,6 +37,7 @@ struct VideoSystemInfo        video;
 struct AudioSystemInfo audio;
 struct GfxInfo         gfx;
 struct FontInfo                font;
+struct AnimInfo                anim;
 struct ArtworkInfo     artwork;
 struct JoystickInfo    joystick;
 struct SetupInfo       setup;
@@ -510,8 +511,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);
 }