diff -ur ScummVM-cvs20030224/scummvm/scumm/object.cpp ScummVM-cvs20030224+hack/scummvm/scumm/object.cpp
old
|
new
|
|
217 | 217 | x = od->walk_x; |
218 | 218 | y = od->walk_y; |
219 | 219 | } |
220 | | dir = oldDirToNewDir(od->actordir & 3); |
| 220 | if (_features & GF_AFTER_V8) |
| 221 | dir = od->actordir; |
| 222 | else |
| 223 | dir = oldDirToNewDir(od->actordir & 3); |
221 | 224 | } |
222 | 225 | |
223 | 226 | int Scumm::getObjActToObjActDist(int a, int b) |
… |
… |
|
654 | 657 | od->y_pos = (int)READ_LE_UINT32(&imhd->v8.y_pos); |
655 | 658 | od->width = (uint)READ_LE_UINT32(&imhd->v8.width); |
656 | 659 | od->height = (uint)READ_LE_UINT32(&imhd->v8.height); |
657 | | od->actordir = (byte)READ_LE_UINT32(&imhd->v8.actordir); |
| 660 | od->actordir = READ_LE_UINT32(&imhd->v8.actordir); |
658 | 661 | |
659 | 662 | } else if (_features & GF_AFTER_V7) { |
660 | 663 | od->obj_nr = READ_LE_UINT16(&(cdhd->v7.obj_id)); |