From 302fdd3eee3f350721854c9d8234c83f97cddade Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Mon, 9 May 2005 18:34:55 +0000 Subject: oops svn-id: r18009 --- scumm/sprite_he.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scumm') diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp index 0d3c1b7074..9f3dc35998 100644 --- a/scumm/sprite_he.cpp +++ b/scumm/sprite_he.cpp @@ -1137,7 +1137,7 @@ void ScummEngine_v90he::spritesMarkDirty(bool checkZOrder) { } else if (lp > 79) { lp = 79; } - int rp = spi->bbox.right + 7 / 8; + int rp = (spi->bbox.right + 7) / 8; if (rp < 0) { rp = 0; } else { -- cgit v1.2.3