projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rnd-20050219-1-src
[rocksndiamonds.git]
/
src
/
game_em
/
graphics.c
diff --git
a/src/game_em/graphics.c
b/src/game_em/graphics.c
index 93100cb306d5aacbc398dc6c56fed92da7fcf379..bd9331755b0334896e5046266b7fd4c37a47905d 100644
(file)
--- a/
src/game_em/graphics.c
+++ b/
src/game_em/graphics.c
@@
-96,7
+96,7
@@
static void DrawLevelField_EM(int x, int y, int sx, int sy,
}
else
{
- if (
width != TILEX || height != TILEY
)
+ if (
(width != TILEX || height != TILEY) && !g->preserve_background
)
ClearRectangle(screenBitmap, sx * TILEX, sy * TILEY, TILEX, TILEY);
if (width > 0 && height > 0)