From 2fcec86696ae9deaa1eee432ca8615169694bcf0 Mon Sep 17 00:00:00 2001 From: Colin Snover Date: Sun, 28 Aug 2016 20:17:49 -0500 Subject: SCI32: Fix typo CID 1361007. --- engines/sci/graphics/transitions32.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/graphics') 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) { -- cgit v1.2.3