aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2015-10-21 23:42:33 +0300
committerFilippos Karapetis2015-10-21 23:42:33 +0300
commite232c9fdb6f150c361c0a556f3245d9b503d2cbb (patch)
tree87c6d4930fe64f457b8f6241a678884ca9bdedd2 /engines
parent51365c11ca5ac79d01601411e634bca34e4a97c4 (diff)
downloadscummvm-rg350-e232c9fdb6f150c361c0a556f3245d9b503d2cbb.tar.gz
scummvm-rg350-e232c9fdb6f150c361c0a556f3245d9b503d2cbb.tar.bz2
scummvm-rg350-e232c9fdb6f150c361c0a556f3245d9b503d2cbb.zip
MADS: Phantom: Implement resetFacing()
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/player.cpp6
1 files changed, 4 insertions, 2 deletions
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