aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/player.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/mads/player.cpp')
-rw-r--r--engines/mads/player.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/mads/player.cpp b/engines/mads/player.cpp
index 3fc7ca53dd..44dfc88ede 100644
--- a/engines/mads/player.cpp
+++ b/engines/mads/player.cpp
@@ -737,4 +737,13 @@ void Player::startMovement() {
_v8452E = -_v84530;
}
+void Player::sub7E53C(Common::Point pos, int direction) {
+ Scene &scene = _vm->_game->_scene;
+
+ reset();
+ scene._action._startWalkFlag = true;
+ scene._action._walkFlag = true;
+ scene._destPos = pos;
+ scene._destFacing = direction;
+}
} // End of namespace MADS