diff options
author | Paul Gilbert | 2007-11-16 22:59:40 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-11-16 22:59:40 +0000 |
commit | 85be70f65b775753d95ccd0a0898a07286c9bde7 (patch) | |
tree | b609c6b62144aab793f58cf97c8c6b39b7d0e725 | |
parent | 058009a1136172af6d0cc87c0bd7ea123c0806cf (diff) | |
download | scummvm-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.cpp | 2 |
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; |