aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-01-06 13:22:36 +0000
committerMartin Kiewitz2010-01-06 13:22:36 +0000
commit07ce38db5fbc4dd54e1d88e35ecf005efe325920 (patch)
tree894aaee78a158006b5a56395defda582f3c2027b
parentce5320d814869bac2cbba78a0182077964f74b81 (diff)
downloadscummvm-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
-rw-r--r--engines/sci/graphics/gfx.cpp4
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;
}