diff --git a/engines/sci/graphics/gfx.cpp b/engines/sci/graphics/gfx.cpp index 089ac3f08e1..9b27eab5575 100644 --- a/engines/sci/graphics/gfx.cpp +++ b/engines/sci/graphics/gfx.cpp @@ -425,8 +425,8 @@ void Gfx::PriorityBandsInit(int16 bandCount, int16 top, int16 bottom) { while (_priorityBands[--y] == _priorityBandCount) _priorityBands[y]--; } - // We fill space that is left over with the highest band - for (y = _priorityBottom; y < _screen->getHeight(); y++) + // We fill space that is left over with the highest band (hardcoded 200 limit, because this algo isnt meant to be used on hires) + for (y = _priorityBottom; y < 200; y++) _priorityBands[y] = _priorityBandCount; }