SCI: changed screenHeight to 200 fixed inside initPriorityBands() because the algo is meant to work on lowres only

svn-id: r47077
This commit is contained in:
Martin Kiewitz
2010-01-06 13:22:36 +00:00
parent ce5320d814
commit 07ce38db5f
+2 -2
View File
@@ -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;
}