From e232c9fdb6f150c361c0a556f3245d9b503d2cbb Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 21 Oct 2015 23:42:33 +0300 Subject: MADS: Phantom: Implement resetFacing() --- engines/mads/player.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'engines') diff --git a/engines/mads/player.cpp b/engines/mads/player.cpp index 01430b0a7d..1e9ce7eada 100644 --- a/engines/mads/player.cpp +++ b/engines/mads/player.cpp @@ -56,7 +56,6 @@ Player::Player(MADSEngine *vm) _special = 0; _ticksAmount = 0; _priorTimer = 0; - _trigger = 0; _scalingVelocity = false; _spritesChanged = false; _forceRefresh = false; @@ -816,6 +815,9 @@ void Player::setWalkTrigger(int val) { } void Player::resetFacing(Facing facing) { - warning("TODO: Player::resetFacing"); + _facing = facing; + _turnToFacing = facing; + selectSeries(); } + } // End of namespace MADS -- cgit v1.2.3