aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
authorJoost Peters2009-02-04 16:08:32 +0000
committerJoost Peters2009-02-04 16:08:32 +0000
commit8be011c77035e966b5b28cec33a7e5c8a591ba84 (patch)
treeec656bac13dadbf17cbbf5b92934afbbdb586aad /engines/tinsel
parent885922240ef8223977fd53f3c205349eda825dbb (diff)
downloadscummvm-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.cpp2
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);