aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/animation.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2010-06-29 11:26:48 +0000
committerPaul Gilbert2010-06-29 11:26:48 +0000
commit5f2c184e4ef2e5519645b699b5dafa27148c59f4 (patch)
tree7ac85a2a5f9fd186a251f3e26d6713602f5aeffc /engines/m4/animation.cpp
parentc1176498f146f01832bc4d98b477f4479302cd4f (diff)
downloadscummvm-rg350-5f2c184e4ef2e5519645b699b5dafa27148c59f4.tar.gz
scummvm-rg350-5f2c184e4ef2e5519645b699b5dafa27148c59f4.tar.bz2
scummvm-rg350-5f2c184e4ef2e5519645b699b5dafa27148c59f4.zip
Changed reading of sprite frame depths to signed bytes - this fixes the problem with the Slippery Pig not showing up in the landing scene in the intro sequence
svn-id: r50492
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 28853938ae..51d3970e12 100644
--- a/engines/m4/animation.cpp
+++ b/engines/m4/animation.cpp
@@ -183,7 +183,7 @@ void MadsAnimation::initialise(const Common::String &filename, uint16 flags, M4S
rec.spriteSlot.frameNumber = animStream->readUint16LE();
rec.spriteSlot.xp = animStream->readSint16LE();
rec.spriteSlot.yp = animStream->readSint16LE();
- rec.spriteSlot.depth = animStream->readByte();
+ rec.spriteSlot.depth = animStream->readSByte();
rec.spriteSlot.scale = (int8)animStream->readByte();
_frameEntries.push_back(rec);