fixed lots of object problems in loomcd

svn-id: r3576
This commit is contained in:
Vincent Hamm 2002-02-13 20:16:01 +00:00
parent d9ddef19aa
commit d59b949833
2 changed files with 38 additions and 15 deletions

View file

@ -1932,6 +1932,8 @@ void Scumm::o5_walkActorToActor() {
Actor *a, *a2;
int nr;
warning("walk actor to actor");
a = derefActorSafe(getVarOrDirectByte(0x80), "o5_walkActorToActor");
if (a->room != _currentRoom) {
getVarOrDirectByte(0x40);
@ -1970,6 +1972,8 @@ void Scumm::o5_walkActorToObject() {
int obj;
Actor *a;
warning("walk object to object");
a = derefActorSafe(getVarOrDirectByte(0x80), "o5_walkActorToObject");
obj = getVarOrDirectWord(0x40);
if (whereIsObject(obj)!=WIO_NOT_FOUND) {