projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed graphical bugs when using background graphics on menu screens
[rocksndiamonds.git]
/
src
/
tools.c
diff --git
a/src/tools.c
b/src/tools.c
index 2fdcd0b8c7c265ff93ba1cfd2b934df486e683e0..cc08a6690f133a6675e83312b26d43b200221302 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-5580,8
+5580,8
@@
unsigned int MoveDoor(unsigned int door_state)
if (!door_panel_drawn[door_index])
{
if (!door_panel_drawn[door_index])
{
- ClearRectangle(drawto, door_rect->x, door_rect->y,
- door_rect->width, door_rect->height);
+ ClearRectangle
OnBackground
(drawto, door_rect->x, door_rect->y,
+
door_rect->width, door_rect->height);
door_panel_drawn[door_index] = TRUE;
}
door_panel_drawn[door_index] = TRUE;
}