diff options
-rw-r--r-- | engines/mads/nebular/menu_nebular.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp index 6db9179608..1fbf96dcd5 100644 --- a/engines/mads/nebular/menu_nebular.cpp +++ b/engines/mads/nebular/menu_nebular.cpp @@ -858,8 +858,7 @@ bool AnimationView::onEvent(Common::Event &event) { void AnimationView::doFrame() { Scene &scene = _vm->_game->_scene; - // TODO: Or when current animation is finished - if (_resourceIndex == -1) { + if (_resourceIndex == -1 || _currentAnimation->freeFlag()) { if (++_resourceIndex == (int)_resources.size()) { scriptDone(); } else { |