From 07ce38db5fbc4dd54e1d88e35ecf005efe325920 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Wed, 6 Jan 2010 13:22:36 +0000 Subject: SCI: changed screenHeight to 200 fixed inside initPriorityBands() because the algo is meant to work on lowres only svn-id: r47077 --- engines/sci/graphics/gfx.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engines/sci/graphics/gfx.cpp b/engines/sci/graphics/gfx.cpp index 089ac3f08e..9b27eab557 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; } -- cgit v1.2.3