aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Apers2006-02-11 17:14:06 +0000
committerChris Apers2006-02-11 17:14:06 +0000
commitfc556b789aec360e1e6e6929624efa8ae68290f2 (patch)
tree74ec61fef4b9573c02487d994bcaf1ab8e1ad252
parentf17ee190045e3f726aa2ba302da4c6fca17554da (diff)
downloadscummvm-rg350-fc556b789aec360e1e6e6929624efa8ae68290f2.tar.gz
scummvm-rg350-fc556b789aec360e1e6e6929624efa8ae68290f2.tar.bz2
scummvm-rg350-fc556b789aec360e1e6e6929624efa8ae68290f2.zip
We are reading LE data even on BE system
svn-id: r20551
-rw-r--r--lure/animseq.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lure/animseq.cpp b/lure/animseq.cpp
index 18a27297ed..c5ca90afd1 100644
--- a/lure/animseq.cpp
+++ b/lure/animseq.cpp
@@ -65,7 +65,7 @@ void AnimationSequence::decodeFrame(byte *&pPixels, byte *&pLines) {
// Get line length
len = (uint16) *pLines++;
if (len == 0) {
- len = *((uint16 *) pLines);
+ len = READ_LE_UINT16(pLines);
pLines += 2;
}
@@ -78,7 +78,7 @@ void AnimationSequence::decodeFrame(byte *&pPixels, byte *&pLines) {
// Get the offset inc amount
len = (uint16) *pLines++;
if (len == 0) {
- len = *((uint16 *) pLines);
+ len = READ_LE_UINT16(pLines);
pLines += 2;
}