From 5d2c2acf905115e33a48a5fc5855075b6f287d11 Mon Sep 17 00:00:00 2001 From: Robert Göffringmann Date: Thu, 18 Dec 2003 00:36:42 +0000 Subject: one more big endian fix svn-id: r11725 --- sword1/screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sword1/screen.cpp') diff --git a/sword1/screen.cpp b/sword1/screen.cpp index c4154dae17..05f715fa7e 100644 --- a/sword1/screen.cpp +++ b/sword1/screen.cpp @@ -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++; -- cgit v1.2.3