one more big endian fix

svn-id: r11725
This commit is contained in:
Robert Göffringmann 2003-12-18 00:36:42 +00:00
parent 8b0ab95580
commit 5d2c2acf90

View File

@ -565,7 +565,7 @@ void SwordScreen::addToGraphicList(uint8 listId, uint32 objId) {
if (!(cpt->o_status & STAT_SHRINK)) { // not a boxed mega using shrinking
Header *frameRaw = (Header*)_resMan->openFetchRes(cpt->o_resource);
FrameHeader *frameHead = _resMan->fetchFrame(frameRaw, cpt->o_frame);
_sortList[_sortLength].y += frameHead->height - 1; // now pointing to base of sprite
_sortList[_sortLength].y += FROM_LE_16(frameHead->height) - 1; // now pointing to base of sprite
_resMan->resClose(cpt->o_resource);
}
_sortLength++;