diff options
author | Travis Howell | 2004-09-26 09:13:02 +0000 |
---|---|---|
committer | Travis Howell | 2004-09-26 09:13:02 +0000 |
commit | 175264c36aaa7470e4a08cb6d13d702919ccb2b1 (patch) | |
tree | a949de465c46e6a13c53f0204bf368f2b7a9fb82 /scumm | |
parent | db5e3079017aa4c1422bed427db1174ae93ea594 (diff) | |
download | scummvm-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.cpp | 2 |
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)); |