projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed bug with comparing wrong viewport variables
[rocksndiamonds.git]
/
src
/
tools.c
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
}
// 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);
{
JoinRectangles(&FADE_SX, &FADE_SY, &FADE_SXSIZE, &FADE_SYSIZE,
VX, VY, VXSIZE, VYSIZE);