diff options
author | Joost Peters | 2009-02-04 16:08:32 +0000 |
---|---|---|
committer | Joost Peters | 2009-02-04 16:08:32 +0000 |
commit | 8be011c77035e966b5b28cec33a7e5c8a591ba84 (patch) | |
tree | ec656bac13dadbf17cbbf5b92934afbbdb586aad /engines/tinsel | |
parent | 885922240ef8223977fd53f3c205349eda825dbb (diff) | |
download | scummvm-rg350-8be011c77035e966b5b28cec33a7e5c8a591ba84.tar.gz scummvm-rg350-8be011c77035e966b5b28cec33a7e5c8a591ba84.tar.bz2 scummvm-rg350-8be011c77035e966b5b28cec33a7e5c8a591ba84.zip |
endian fix
svn-id: r36214
Diffstat (limited to 'engines/tinsel')
-rw-r--r-- | engines/tinsel/object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/object.cpp b/engines/tinsel/object.cpp index 6add275341..adea6fbc21 100644 --- a/engines/tinsel/object.cpp +++ b/engines/tinsel/object.cpp @@ -442,7 +442,7 @@ void AnimateObjectFlags(OBJECT *pAniObj, int newflags, SCNHANDLE hNewImg) { pAniObj->width = FROM_LE_16(pNewImg->imgWidth); pAniObj->height = FROM_LE_16(pNewImg->imgHeight) & ~C16_FLAG_MASK; newflags &= ~C16_FLAG_MASK; - newflags |= pNewImg->imgHeight & C16_FLAG_MASK; + newflags |= FROM_LE_16(pNewImg->imgHeight) & C16_FLAG_MASK; // set objects bitmap definition pAniObj->hBits = FROM_LE_32(pNewImg->hImgBits); |