projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ddda51
)
fixed removing potential multiple screen redraw in the same video frame
author
Holger Schemel
<info@artsoft.org>
Sun, 29 May 2016 23:43:46 +0000
(
01:43
+0200)
committer
Holger Schemel
<info@artsoft.org>
Sun, 29 May 2016 23:43:46 +0000
(
01:43
+0200)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index ab79bcda697ba58494dc76f053567c2b9120067d..30e9cd5660b5de185b254e3600845d92d49b29e3 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-587,14
+587,16
@@
void BackToFront()
x2 = MAX(x2, DX + DXSIZE);
y2 = MAX(y2, DY + DYSIZE);
}
- else if (redraw_mask & REDRAW_DOOR_2)
+
+ if (redraw_mask & REDRAW_DOOR_2)
{
x1 = MIN(x1, VX);
y1 = MIN(y1, VY);
x2 = MAX(x2, VX + VXSIZE);
y2 = MAX(y2, VY + VYSIZE);
}
- else if (redraw_mask & REDRAW_DOOR_3)
+
+ if (redraw_mask & REDRAW_DOOR_3)
{
x1 = MIN(x1, EX);
y1 = MIN(y1, EY);