aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 3b059a2455..e5d6f17574 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>(_surfHeight + _screenDeltaY - _splitHeight2, _vm->_height);
+ int screenHeight = MIN<int>(_surfHeight - _splitHeight2, _vm->_height);
g_system->copyRectToScreen(_vm->_global->_primarySurfDesc->getVidMem() + screenOffset,
_surfWidth, screenX, screenY, screenWidth, screenHeight);