aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2007-11-16 22:59:40 +0000
committerPaul Gilbert2007-11-16 22:59:40 +0000
commit85be70f65b775753d95ccd0a0898a07286c9bde7 (patch)
treeb609c6b62144aab793f58cf97c8c6b39b7d0e725
parent058009a1136172af6d0cc87c0bd7ea123c0806cf (diff)
downloadscummvm-rg350-85be70f65b775753d95ccd0a0898a07286c9bde7.tar.gz
scummvm-rg350-85be70f65b775753d95ccd0a0898a07286c9bde7.tar.bz2
scummvm-rg350-85be70f65b775753d95ccd0a0898a07286c9bde7.zip
Fixed a direct access causing endian problems
svn-id: r29519
-rw-r--r--engines/lure/hotspots.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index 89d4eaaed9..0791e72f92 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -372,7 +372,7 @@ void Hotspot::setAnimation(HotspotAnimData *newRecord) {
}
if ((newRecord->flags & PIXELFLAG_HAS_TABLE) != 0)
- frameOffset += (*++offsetPtr >> 1);
+ frameOffset += (READ_LE_UINT16(++offsetPtr) >> 1);
}
delete src;