Checks were in reverse.
svn-id: r16995
This commit is contained in:
parent
cca8d4733c
commit
a50ec148e8
1 changed files with 4 additions and 4 deletions
|
@ -1039,16 +1039,16 @@ void ScummEngine_v90he::spritesBlitToScreen() {
|
||||||
firstLoop = false;
|
firstLoop = false;
|
||||||
refreshScreen = true;
|
refreshScreen = true;
|
||||||
} else {
|
} else {
|
||||||
if (xmin < spi->bbox.left) {
|
if (xmin > spi->bbox.left) {
|
||||||
xmin = spi->bbox.left;
|
xmin = spi->bbox.left;
|
||||||
}
|
}
|
||||||
if (ymin < spi->bbox.top) {
|
if (ymin > spi->bbox.top) {
|
||||||
ymin = spi->bbox.top;
|
ymin = spi->bbox.top;
|
||||||
}
|
}
|
||||||
if (xmax > spi->bbox.right) {
|
if (xmax < spi->bbox.right) {
|
||||||
xmax = spi->bbox.right;
|
xmax = spi->bbox.right;
|
||||||
}
|
}
|
||||||
if (ymax > spi->bbox.bottom) {
|
if (ymax < spi->bbox.bottom) {
|
||||||
ymax = spi->bbox.bottom;
|
ymax = spi->bbox.bottom;
|
||||||
}
|
}
|
||||||
refreshScreen = true;
|
refreshScreen = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue