From 31006320a6882c51ebe96ee0fd1b83a9fa2c9cdb Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Wed, 28 Oct 2009 14:57:13 +0000 Subject: Fixing "graphical glitch in Bizoo level" (bug #2867361) svn-id: r45470 --- engines/gob/video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(_surfWidth - _scrollOffsetX, _vm->_width); - int screenHeight = MIN(_surfHeight - _splitHeight2 - _scrollOffsetY, _vm->_height); + int screenHeight = MIN(_surfHeight - _splitHeight2 - _scrollOffsetY, _vm->_height - _splitHeight2); dirtyRectsApply(_scrollOffsetX, _scrollOffsetY, screenWidth, screenHeight, screenX, screenY); -- cgit v1.2.3