aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2009-10-28 14:57:13 +0000
committerSven Hesse2009-10-28 14:57:13 +0000
commit31006320a6882c51ebe96ee0fd1b83a9fa2c9cdb (patch)
tree4171535865c9ebf80d55da9c32e899f40944ebad /engines/gob
parent449b3cfd6d1bb9e13dc2b6a293f5d0de93aadcc7 (diff)
downloadscummvm-rg350-31006320a6882c51ebe96ee0fd1b83a9fa2c9cdb.tar.gz
scummvm-rg350-31006320a6882c51ebe96ee0fd1b83a9fa2c9cdb.tar.bz2
scummvm-rg350-31006320a6882c51ebe96ee0fd1b83a9fa2c9cdb.zip
Fixing "graphical glitch in Bizoo level" (bug #2867361)
svn-id: r45470
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/video.cpp b/engines/gob/video.cpp
index 2357f66750..ea84733b15 100644
--- a/engines/gob/video.cpp
+++ b/engines/gob/video.cpp
@@ -265,7 +265,7 @@ void Video::retrace(bool mouse) {
int screenX = _screenDeltaX;
int screenY = _screenDeltaY;
int screenWidth = MIN<int>(_surfWidth - _scrollOffsetX, _vm->_width);
- int screenHeight = MIN<int>(_surfHeight - _splitHeight2 - _scrollOffsetY, _vm->_height);
+ int screenHeight = MIN<int>(_surfHeight - _splitHeight2 - _scrollOffsetY, _vm->_height - _splitHeight2);
dirtyRectsApply(_scrollOffsetX, _scrollOffsetY, screenWidth, screenHeight,
screenX, screenY);