aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/gui/gui_picture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/gui/gui_picture.cpp b/engines/sci/gui/gui_picture.cpp
index 6978c4c7c6..fcfb507f30 100644
--- a/engines/sci/gui/gui_picture.cpp
+++ b/engines/sci/gui/gui_picture.cpp
@@ -198,7 +198,7 @@ void SciGuiPicture::drawCelData(byte *inbuffer, int size, int headerPos, int rle
// Set initial vertical coordinate by using current port
y = callerY + _gfx->GetPort()->top;
- lastY = MIN<int16>(height + y, _gfx->GetPort()->rect.bottom) + _gfx->GetPort()->top;
+ lastY = MIN<int16>(height + y, _gfx->GetPort()->rect.bottom + _gfx->GetPort()->top);
if (callerX != 0)
error("drawCelData() called with callerX != 0");