From a50ec148e82f95b7cee80e28c4a3612d604e0aa2 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 6 Mar 2005 01:41:25 +0000 Subject: Checks were in reverse. svn-id: r16995 --- scumm/sprite_he.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'scumm') 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; -- cgit v1.2.3