aboutsummaryrefslogtreecommitdiff
path: root/sword1/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sword1/screen.cpp')
-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++;