diff options
author | johndoe123 | 2014-04-02 13:16:01 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2018-07-20 06:43:33 +0000 |
commit | 08899f5e9b3d8af2b147610e164be7f561ca0bd9 (patch) | |
tree | e432ba0c6967adf0bfa1455261e6390c4537dfaa /engines/illusions/actor.cpp | |
parent | 8d7d6599b9bc29152cbccbcec6b2e25b66272715 (diff) | |
download | scummvm-rg350-08899f5e9b3d8af2b147610e164be7f561ca0bd9.tar.gz scummvm-rg350-08899f5e9b3d8af2b147610e164be7f561ca0bd9.tar.bz2 scummvm-rg350-08899f5e9b3d8af2b147610e164be7f561ca0bd9.zip |
ILLUSIONS: Implement calcPointDirection
- Implement sequence opcode 1
Diffstat (limited to 'engines/illusions/actor.cpp')
-rw-r--r-- | engines/illusions/actor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
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; |