mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user