diff options
author | Gregory Montoir | 2003-10-15 08:46:04 +0000 |
---|---|---|
committer | Gregory Montoir | 2003-10-15 08:46:04 +0000 |
commit | 8c0496194a19bc7e2f8e974863b94d7785b1fad5 (patch) | |
tree | 2ff8599d901c661e963afd597c59a697539c1895 /queen/cutaway.cpp | |
parent | 8b42d65a7e922a9b9241ebe509968331fe958fb6 (diff) | |
download | scummvm-rg350-8c0496194a19bc7e2f8e974863b94d7785b1fad5.tar.gz scummvm-rg350-8c0496194a19bc7e2f8e974863b94d7785b1fad5.tar.bz2 scummvm-rg350-8c0496194a19bc7e2f8e974863b94d7785b1fad5.zip |
fix personMove / cutaway problem
svn-id: r10807
Diffstat (limited to 'queen/cutaway.cpp')
-rw-r--r-- | queen/cutaway.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/queen/cutaway.cpp b/queen/cutaway.cpp index d70da67214..67b0bd6c64 100644 --- a/queen/cutaway.cpp +++ b/queen/cutaway.cpp @@ -640,21 +640,21 @@ void Cutaway::handlePersonRecord( _logic->personSetData( object.objectNumber - _logic->roomData(object.room), "", true, &p); - +#if 0 debug(0, "Moving person '%s' (%i) = actor '%s' to (%i,%i)", _logic->objectName(object.objectNumber), object.objectNumber, p.name, object.moveToX, object.moveToY); - +#endif strcpy(name, p.name); - if (object.moveToX || object.moveToY) { + if (object.bobStartX || object.bobStartY) { BobSlot *bob = _graphics->bob(p.actor->bobNum); bob->scale = 100; // XXX SF; - bob->x = object.moveToX; - bob->y = object.moveToY; + bob->x = object.bobStartX; + bob->y = object.bobStartY; } -#if 0 +#if 1 _walk->personMove( &p, object.moveToX, object.moveToY, |