diff options
-rw-r--r-- | engines/mads/dragonsphere/dragonsphere_scenes1.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/engines/mads/dragonsphere/dragonsphere_scenes1.cpp b/engines/mads/dragonsphere/dragonsphere_scenes1.cpp index ee32a0fdef..5fdf2018f9 100644 --- a/engines/mads/dragonsphere/dragonsphere_scenes1.cpp +++ b/engines/mads/dragonsphere/dragonsphere_scenes1.cpp @@ -305,12 +305,9 @@ void Scene102::enter() { } void Scene102::step() { - int resetFrame; - if ((_animRunning == 1) && _scene->_animation[_globals._animationIndexes[0]]) { if (_scene->_animation[_globals._animationIndexes[0]]->getCurrentFrame() != _diaryFrame) { _diaryFrame = _scene->_animation[_globals._animationIndexes[0]]->getCurrentFrame(); - resetFrame = -1; switch (_diaryFrame) { case 6: @@ -331,13 +328,6 @@ void Scene102::step() { default: break; } - - if (resetFrame >= 0) { - if (resetFrame != _scene->_animation[_globals._animationIndexes[0]]->getCurrentFrame()) { - _scene->setAnimFrame(_globals._animationIndexes[0], resetFrame); - _diaryFrame = resetFrame; - } - } } } |