diff options
author | Travis Howell | 2005-03-06 01:41:25 +0000 |
---|---|---|
committer | Travis Howell | 2005-03-06 01:41:25 +0000 |
commit | a50ec148e82f95b7cee80e28c4a3612d604e0aa2 (patch) | |
tree | 2c78039fd98f2ebde29e6f28a047c234b96e7423 | |
parent | cca8d4733cb8aff3561df6d189ef6824fe82a632 (diff) | |
download | scummvm-rg350-a50ec148e82f95b7cee80e28c4a3612d604e0aa2.tar.gz scummvm-rg350-a50ec148e82f95b7cee80e28c4a3612d604e0aa2.tar.bz2 scummvm-rg350-a50ec148e82f95b7cee80e28c4a3612d604e0aa2.zip |
Checks were in reverse.
svn-id: r16995
-rw-r--r-- | scumm/sprite_he.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp index f6ea8937b4..399afcebfd 100644 --- a/scumm/sprite_he.cpp +++ b/scumm/sprite_he.cpp @@ -1039,16 +1039,16 @@ void ScummEngine_v90he::spritesBlitToScreen() { firstLoop = false; refreshScreen = true; } else { - if (xmin < spi->bbox.left) { + if (xmin > spi->bbox.left) { xmin = spi->bbox.left; } - if (ymin < spi->bbox.top) { + if (ymin > spi->bbox.top) { ymin = spi->bbox.top; } - if (xmax > spi->bbox.right) { + if (xmax < spi->bbox.right) { xmax = spi->bbox.right; } - if (ymax > spi->bbox.bottom) { + if (ymax < spi->bbox.bottom) { ymax = spi->bbox.bottom; } refreshScreen = true; |