aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/graphics
diff options
context:
space:
mode:
authorColin Snover2016-08-28 20:17:49 -0500
committerColin Snover2016-09-29 19:39:16 -0500
commit2fcec86696ae9deaa1eee432ca8615169694bcf0 (patch)
tree9a3f29ed841e08d91da375ad38a9d29c842c5edc /engines/sci/graphics
parent5ab363a436151090d4ef1701c97ed7ed4f1e5c93 (diff)
downloadscummvm-rg350-2fcec86696ae9deaa1eee432ca8615169694bcf0.tar.gz
scummvm-rg350-2fcec86696ae9deaa1eee432ca8615169694bcf0.tar.bz2
scummvm-rg350-2fcec86696ae9deaa1eee432ca8615169694bcf0.zip
SCI32: Fix typo
CID 1361007.
Diffstat (limited to 'engines/sci/graphics')
-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) {