Fixed a direct access causing endian problems

svn-id: r29519
This commit is contained in:
Paul Gilbert 2007-11-16 22:59:40 +00:00
parent 058009a113
commit 85be70f65b

View file

@ -372,7 +372,7 @@ void Hotspot::setAnimation(HotspotAnimData *newRecord) {
} }
if ((newRecord->flags & PIXELFLAG_HAS_TABLE) != 0) if ((newRecord->flags & PIXELFLAG_HAS_TABLE) != 0)
frameOffset += (*++offsetPtr >> 1); frameOffset += (READ_LE_UINT16(++offsetPtr) >> 1);
} }
delete src; delete src;