diff options
-rw-r--r-- | scumm/sprite_he.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |