aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/game.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2014-03-25 22:07:33 -0400
committerPaul Gilbert2014-03-25 22:07:33 -0400
commit407021d245f1e0446867824c6306337f18fe8eb3 (patch)
tree6f3f7815e20661bc624cfe8e15edc744324079bd /engines/mads/game.cpp
parent7b15d2e379ce6ecfc131db803fbe704caaf8d385 (diff)
downloadscummvm-rg350-407021d245f1e0446867824c6306337f18fe8eb3.tar.gz
scummvm-rg350-407021d245f1e0446867824c6306337f18fe8eb3.tar.bz2
scummvm-rg350-407021d245f1e0446867824c6306337f18fe8eb3.zip
MADS: Added a Facing enum for the player directions
Diffstat (limited to 'engines/mads/game.cpp')
-rw-r--r--engines/mads/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/game.cpp b/engines/mads/game.cpp
index f155bc81c2..6e7c530934 100644
--- a/engines/mads/game.cpp
+++ b/engines/mads/game.cpp
@@ -230,7 +230,7 @@ void Game::sectionLoop() {
// Set player data
_player._destPos = _player._playerPos;
_player._newDirection = _player._direction;
- _player._destFacing = _player._direction;
+ _player._targetFacing = _player._direction;
_player.setupFrame();
_player.updateFrame();
_player._visible3 = _player._visible;