diff options
author | Martin Kiewitz | 2010-01-06 13:22:36 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-06 13:22:36 +0000 |
commit | 07ce38db5fbc4dd54e1d88e35ecf005efe325920 (patch) | |
tree | 894aaee78a158006b5a56395defda582f3c2027b /engines | |
parent | ce5320d814869bac2cbba78a0182077964f74b81 (diff) | |
download | scummvm-rg350-07ce38db5fbc4dd54e1d88e35ecf005efe325920.tar.gz scummvm-rg350-07ce38db5fbc4dd54e1d88e35ecf005efe325920.tar.bz2 scummvm-rg350-07ce38db5fbc4dd54e1d88e35ecf005efe325920.zip |
SCI: changed screenHeight to 200 fixed inside initPriorityBands() because the algo is meant to work on lowres only
svn-id: r47077
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/gfx.cpp | 4 |
1 files 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; } |