diff options
Diffstat (limited to 'engines/sherlock/scalpel/tsage')
-rw-r--r-- | engines/sherlock/scalpel/tsage/logo.cpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/engines/sherlock/scalpel/tsage/logo.cpp b/engines/sherlock/scalpel/tsage/logo.cpp index 2ac6af2601..ee1fe5f818 100644 --- a/engines/sherlock/scalpel/tsage/logo.cpp +++ b/engines/sherlock/scalpel/tsage/logo.cpp @@ -223,8 +223,15 @@ void Object::update() { Screen &screen = *_vm->_screen; if (_visage.isLoaded()) { - if (isMoving()) - move(); + if (isMoving()) { + uint32 currTime = _vm->_events->getFrameCounter(); + if (_walkStartFrame <= currTime) { + int moveRate = 10; + int frameInc = 60 / moveRate; + _walkStartFrame = currTime + frameInc; + move(); + } + } if (_isAnimating) { if (_frame < _visage.getFrameCount()) |