From 08899f5e9b3d8af2b147610e164be7f561ca0bd9 Mon Sep 17 00:00:00 2001 From: johndoe123 Date: Wed, 2 Apr 2014 13:16:01 +0200 Subject: ILLUSIONS: Implement calcPointDirection - Implement sequence opcode 1 --- engines/illusions/actor.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'engines/illusions/actor.cpp') diff --git a/engines/illusions/actor.cpp b/engines/illusions/actor.cpp index 75b49004b6..97c8dc0e61 100644 --- a/engines/illusions/actor.cpp +++ b/engines/illusions/actor.cpp @@ -700,11 +700,9 @@ void Control::startMoveActor(uint32 sequenceId, Common::Point destPt, uint32 cal // TODO _actor->_field_C0 = destPt.x; // TODO _actor->_field_C2 = destPt.y; - /* TODO uint newFacing; - if (calcPointDirection(_actor->_position, destPt, newFacing)) + if (_vm->calcPointDirection(_actor->_position, destPt, newFacing)) faceActor(newFacing); - */ if (actorType->_value1E) _actor->_pathCtrY = actorType->_value1E; -- cgit v1.2.3