aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/graphics.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2010-06-11 11:08:37 +0000
committerPaul Gilbert2010-06-11 11:08:37 +0000
commite572267a05674b4b462602781be58f813c84479d (patch)
tree8c9a5e87f50afd4ba1948bf71f5dfcad662826c4 /engines/m4/graphics.cpp
parentef34896dce9188591e8ddd6e8eed543febd70b87 (diff)
downloadscummvm-rg350-e572267a05674b4b462602781be58f813c84479d.tar.gz
scummvm-rg350-e572267a05674b4b462602781be58f813c84479d.tar.bz2
scummvm-rg350-e572267a05674b4b462602781be58f813c84479d.zip
Bugfixes to correctly scroll the background during animations
svn-id: r49596
Diffstat (limited to 'engines/m4/graphics.cpp')
-rw-r--r--engines/m4/graphics.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/graphics.cpp b/engines/m4/graphics.cpp
index f332c8b06c..dd18972eec 100644
--- a/engines/m4/graphics.cpp
+++ b/engines/m4/graphics.cpp
@@ -769,7 +769,7 @@ void M4Surface::scrollX(int xAmount) {
return;
byte buffer[80];
- int direction = (xAmount > 0) ? 1 : -1;
+ int direction = (xAmount > 0) ? -1 : 1;
int xSize = ABS(xAmount);
assert(xSize <= 80);