aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-09-26 09:13:02 +0000
committerTravis Howell2004-09-26 09:13:02 +0000
commit175264c36aaa7470e4a08cb6d13d702919ccb2b1 (patch)
treea949de465c46e6a13c53f0204bf368f2b7a9fb82 /scumm
parentdb5e3079017aa4c1422bed427db1174ae93ea594 (diff)
downloadscummvm-rg350-175264c36aaa7470e4a08cb6d13d702919ccb2b1.tar.gz
scummvm-rg350-175264c36aaa7470e4a08cb6d13d702919ccb2b1.tar.bz2
scummvm-rg350-175264c36aaa7470e4a08cb6d13d702919ccb2b1.zip
Ooops
svn-id: r15286
Diffstat (limited to 'scumm')
-rw-r--r--scumm/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp
index 49f03ebe84..242178485b 100644
--- a/scumm/object.cpp
+++ b/scumm/object.cpp
@@ -785,7 +785,7 @@ void ScummEngine::setupRoomObject(ObjectData *od, const byte *room, const byte *
od->height = (uint)READ_LE_UINT32(&imhd->v8.height);
// HACK: This is done sinec an angle doesn't fit into a byte (360 > 256)
od->actordir = toSimpleDir(1, READ_LE_UINT32(&imhd->v8.actordir));
- od->flag = READ_LE_UINT32(&imhd->v8.flag);
+ od->flag = (byte) READ_LE_UINT32(&imhd->v8.flag);
} else if (_version == 7) {
od->obj_nr = READ_LE_UINT16(&(cdhd->v7.obj_id));