From 5f2c184e4ef2e5519645b699b5dafa27148c59f4 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Tue, 29 Jun 2010 11:26:48 +0000 Subject: 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 --- engines/m4/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3