projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6b5161
)
fixed bug with comparing wrong viewport variables
author
Holger Schemel
<info@artsoft.org>
Mon, 3 Dec 2018 21:49:26 +0000
(22:49 +0100)
committer
Holger Schemel
<info@artsoft.org>
Mon, 3 Dec 2018 21:49:26 +0000
(22:49 +0100)
src/tools.c
patch
|
blob
|
history
diff --git
a/src/tools.c
b/src/tools.c
index 606652248307a0eb8a1b05964695d43c2e066781..cdf55ac3368dc4be36c79aa47fe4b73158306cbd 100644
(file)
--- a/
src/tools.c
+++ b/
src/tools.c
@@
-9554,8
+9554,8
@@
void ChangeViewportPropertiesIfNeeded(void)
}
// add current and new door 2 area if position or size has changed
- if (new_
dx != VX || new_d
y != VY ||
- new_
dxsize != VXSIZE || new_d
ysize != VYSIZE)
+ if (new_
vx != VX || new_v
y != VY ||
+ new_
vxsize != VXSIZE || new_v
ysize != VYSIZE)
{
JoinRectangles(&FADE_SX, &FADE_SY, &FADE_SXSIZE, &FADE_SYSIZE,
VX, VY, VXSIZE, VYSIZE);