From 6c78f2a6b801ae8a8efb7f9db9bf0213ce3eb759 Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Wed, 14 Jan 2004 14:34:05 +0000 Subject: - tweaked a bit walking functions to make persons stop walking when a cutaway is canceled - removed unpack to bob frame 2 (as it is never used) - changed some error() calls to assert() - minor cleanups svn-id: r12385 --- queen/command.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'queen/command.cpp') diff --git a/queen/command.cpp b/queen/command.cpp index c278ea64b6..302db35072 100644 --- a/queen/command.cpp +++ b/queen/command.cpp @@ -455,8 +455,7 @@ int16 Command::makeJoeWalkTo(int16 x, int16 y, int16 objNum, Verb v, bool mustWa if (mustWalk) { // determine which way for Joe to face Object uint16 facing = State::findDirection(objData->state); - - BobSlot *bobJoe = _vm->graphics()->bob(0); + BobSlot *bobJoe = _vm->graphics()->bob(0); if (x == bobJoe->x && y == bobJoe->y) { _vm->logic()->joeFacing(facing); _vm->logic()->joeFace(); -- cgit v1.2.3