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 9f3dc35998..9fa174ef0b 100644 --- a/scumm/sprite_he.cpp +++ b/scumm/sprite_he.cpp @@ -1140,7 +1140,7 @@ void ScummEngine_v90he::spritesMarkDirty(bool checkZOrder) {  				int rp = (spi->bbox.right + 7) / 8;  				if (rp < 0) {  					rp = 0; -				} else { +				} else if (rp > 79) {  					rp = 79;  				}  				for (; lp <= rp; ++lp) { | 
