aboutsummaryrefslogtreecommitdiff
path: root/sword1
diff options
context:
space:
mode:
authorRobert Göffringmann2003-12-18 00:36:42 +0000
committerRobert Göffringmann2003-12-18 00:36:42 +0000
commit5d2c2acf905115e33a48a5fc5855075b6f287d11 (patch)
tree280ee552f6c994a4cb9a968f0ca971598cb4558e /sword1
parent8b0ab955803b8a452d05152edcc99ef38c15f5a6 (diff)
downloadscummvm-rg350-5d2c2acf905115e33a48a5fc5855075b6f287d11.tar.gz
scummvm-rg350-5d2c2acf905115e33a48a5fc5855075b6f287d11.tar.bz2
scummvm-rg350-5d2c2acf905115e33a48a5fc5855075b6f287d11.zip
one more big endian fix
svn-id: r11725
Diffstat (limited to 'sword1')
-rw-r--r--sword1/screen.cpp2
1 files changed, 1 insertions, 1 deletions
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++;