projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rnd-20030112-1-src
[rocksndiamonds.git]
/
src
/
libgame
/
system.c
diff --git
a/src/libgame/system.c
b/src/libgame/system.c
index ff7d8e545dd9f6c0c422eea8036cbe5247c1e453..3c4613fbe76f704cb3fce24ca92ec2763e7651ff 100644
(file)
--- 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))
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);
}
else
ClearRectangle(bitmap, x, y, width, height);
}