aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/graphics/transitions32.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/transitions32.cpp b/engines/sci/graphics/transitions32.cpp
index 37f608da85..c0b1c075c8 100644
--- a/engines/sci/graphics/transitions32.cpp
+++ b/engines/sci/graphics/transitions32.cpp
@@ -953,7 +953,7 @@ bool GfxTransitions32::processScroll(PlaneScroll &scroll) {
int deltaX = scroll.deltaX;
int deltaY = scroll.deltaY;
- if (((scroll.x + deltaX) * scroll.y) <= 0) {
+ if (((scroll.x + deltaX) * scroll.x) <= 0) {
deltaX = -scroll.x;
}
if (((scroll.y + deltaY) * scroll.y) <= 0) {