fixed two bugs in indy4.
actors were facing in the wrong direction on the stairs, actors moved strangely in monte carlo svn-id: r3538
This commit is contained in:
parent
11312eba66
commit
0e66f42581
3 changed files with 25 additions and 7 deletions
|
@ -152,8 +152,8 @@ void Scumm::getObjectXYPos(int object) {
|
|||
x = od->x_pos + (int16)READ_LE_UINT16(&imhd->hotspot[state].x);
|
||||
y = od->y_pos + (int16)READ_LE_UINT16(&imhd->hotspot[state].y);
|
||||
} else {
|
||||
x = od->walk_x;
|
||||
y = od->walk_y;
|
||||
x = (int16)READ_LE_UINT16(&od->walk_x);
|
||||
y = (int16)READ_LE_UINT16(&od->walk_y);
|
||||
}
|
||||
|
||||
// abr = adjustXYToBeInBox(0, x, y);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue