diff -ur ScummVM-cvs20030301/scummvm/scumm/object.cpp ScummVM-cvs20030301+hack/scummvm/scumm/object.cpp
old
|
new
|
|
218 | 218 | y = od->walk_y; |
219 | 219 | } |
220 | 220 | if (_features & GF_AFTER_V8) |
221 | | dir = od->actordir; |
| 221 | dir = fromSimpleDir(1, od->actordir); |
222 | 222 | else |
223 | 223 | dir = oldDirToNewDir(od->actordir & 3); |
224 | 224 | } |
… |
… |
|
657 | 657 | od->y_pos = (int)READ_LE_UINT32(&imhd->v8.y_pos); |
658 | 658 | od->width = (uint)READ_LE_UINT32(&imhd->v8.width); |
659 | 659 | od->height = (uint)READ_LE_UINT32(&imhd->v8.height); |
660 | | od->actordir = READ_LE_UINT32(&imhd->v8.actordir); |
| 660 | // HACK: This is to fit an angle into a byte |
| 661 | od->actordir = toSimpleDir(1, READ_LE_UINT32(&imhd->v8.actordir)); |
661 | 662 | |
662 | 663 | } else if (_features & GF_AFTER_V7) { |
663 | 664 | od->obj_nr = READ_LE_UINT16(&(cdhd->v7.obj_id)); |