X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Flibgame%2Fsystem.c;h=3c4613fbe76f704cb3fce24ca92ec2763e7651ff;hb=be2766c926ff78b2985565fd9c12390eb5655112;hp=ff7d8e545dd9f6c0c422eea8036cbe5247c1e453;hpb=994cb017022c658f115e3c9fc927d8a0cc83832c;p=rocksndiamonds.git diff --git a/src/libgame/system.c b/src/libgame/system.c index ff7d8e54..3c4613fb 100644 --- a/src/libgame/system.c +++ b/src/libgame/system.c @@ -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); }