aboutsummaryrefslogtreecommitdiff
path: root/lure/animseq.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lure/animseq.cpp')
-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;
}