diff options
Diffstat (limited to 'engines/m4')
-rw-r--r-- | engines/m4/animation.cpp | 2 | ||||
-rw-r--r-- | engines/m4/graphics.cpp | 2 |
2 files changed, 2 insertions, 2 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); 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); |