diff options
author | Paul Gilbert | 2014-03-16 16:50:53 -0400 |
---|---|---|
committer | Paul Gilbert | 2014-03-16 16:50:53 -0400 |
commit | d599c7c404729217cf4cf85ee02b2d8b3f3b9ec9 (patch) | |
tree | 4cd3ac0bdd819c48cbbd3d83638d90dc94482903 /engines/mads/player.cpp | |
parent | 74da0c2ef7a5a77ddfcda26b28ebdeab68a9f8f5 (diff) | |
download | scummvm-rg350-d599c7c404729217cf4cf85ee02b2d8b3f3b9ec9.tar.gz scummvm-rg350-d599c7c404729217cf4cf85ee02b2d8b3f3b9ec9.tar.bz2 scummvm-rg350-d599c7c404729217cf4cf85ee02b2d8b3f3b9ec9.zip |
MADS: Fix to display player
Diffstat (limited to 'engines/mads/player.cpp')
-rw-r--r-- | engines/mads/player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/mads/player.cpp b/engines/mads/player.cpp index c3ce270954..3fc7ca53dd 100644 --- a/engines/mads/player.cpp +++ b/engines/mads/player.cpp @@ -362,8 +362,8 @@ void Player::setDest(const Common::Point &pt, int facing) { void Player::nextFrame() { Scene &scene = _vm->_game->_scene; - _priorTimer += _ticksAmount; - if (scene._frameStartTime >= _priorTimer) { + uint32 newTime = _priorTimer + _ticksAmount; + if (scene._frameStartTime >= newTime) { _priorTimer = scene._frameStartTime; if (_moving) { move(); |