aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2008-05-22 17:10:41 +0000
committerSven Hesse2008-05-22 17:10:41 +0000
commitf2294d9b89da81929816484f2b845d4c2a68e741 (patch)
treeac3bbaa8bf95f4365d373159cc6a7a734530f481 /engines/gob
parent7dbceb8e6399d9e8b2b40230e0d8872423ec8ffe (diff)
downloadscummvm-rg350-f2294d9b89da81929816484f2b845d4c2a68e741.tar.gz
scummvm-rg350-f2294d9b89da81929816484f2b845d4c2a68e741.tar.bz2
scummvm-rg350-f2294d9b89da81929816484f2b845d4c2a68e741.zip
Fixing another split screen glitch
svn-id: r32212
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 d2fe979754..3b059a2455 100644
--- a/engines/gob/video.cpp
+++ b/engines/gob/video.cpp
@@ -183,7 +183,7 @@ void Video::retrace(bool mouse) {
int screenX = _screenDeltaX;
int screenY = _screenDeltaY;
int screenWidth = MIN<int>(_surfWidth, _vm->_width);
- int screenHeight = MIN<int>(_splitHeight1, _vm->_height - _splitHeight2 - _screenDeltaY);
+ int screenHeight = MIN<int>(_surfHeight + _screenDeltaY - _splitHeight2, _vm->_height);
g_system->copyRectToScreen(_vm->_global->_primarySurfDesc->getVidMem() + screenOffset,
_surfWidth, screenX, screenY, screenWidth, screenHeight);