aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/animation.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/animation.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/animation.cpp')
-rw-r--r--engines/m4/animation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/animation.cpp b/engines/m4/animation.cpp
index dacfd8c581..adb802ee0e 100644
--- a/engines/m4/animation.cpp
+++ b/engines/m4/animation.cpp
@@ -87,7 +87,7 @@ void MadsAnimation::initialise(const Common::String &filename, uint16 flags, M4S
animStream->skip(2);
_field12 = animStream->readUint16LE() != 0;
_spriteListIndex = animStream->readUint16LE();
- _scrollX = animStream->readUint16LE();
+ _scrollX = animStream->readSint16LE();
_scrollY = animStream->readSint16LE();
animStream->skip(10);