aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorNorbert Lange2009-08-24 13:08:21 +0000
committerNorbert Lange2009-08-24 13:08:21 +0000
commit54ef7a892ba9460c21fdb7bb5cc72fedc9d4b8cd (patch)
tree885efa86a34742fc63c2d0489c32a973e7c46b34 /engines/saga
parent184aae3c8c863541771fbeb09ce5f1a72ecabb95 (diff)
downloadscummvm-rg350-54ef7a892ba9460c21fdb7bb5cc72fedc9d4b8cd.tar.gz
scummvm-rg350-54ef7a892ba9460c21fdb7bb5cc72fedc9d4b8cd.tar.bz2
scummvm-rg350-54ef7a892ba9460c21fdb7bb5cc72fedc9d4b8cd.zip
reverting changes from patch 43696 that shouldnt have been committed
svn-id: r43697
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/animation.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/saga/animation.cpp b/engines/saga/animation.cpp
index 95a850cfe2..0d298bf96a 100644
--- a/engines/saga/animation.cpp
+++ b/engines/saga/animation.cpp
@@ -826,10 +826,12 @@ int Anim::fillFrameOffsets(AnimationData *anim, bool reallyFill) {
int i;
bool longData = isLongData();
- MemoryReadStreamEndian readS(anim->resourceData, anim->resourceLength, !_vm->isBigEndian()); // RLE has inversion BE<>LE
+ MemoryReadStreamEndian readS(anim->resourceData, anim->resourceLength, _vm->isBigEndian());
readS.seek(12);
+ readS._bigEndian = !_vm->isBigEndian(); // RLE has inversion BE<>LE
+
while (readS.pos() != readS.size()) {
if (reallyFill) {
anim->frameOffsets[currentFrame] = readS.pos();