Fixed a direct access causing endian problems
svn-id: r29519
This commit is contained in:
parent
058009a113
commit
85be70f65b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue