Skip to content

Commit

Permalink
MADS: Correctly show main menu after showing credits
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Mar 7, 2015
1 parent c80c74e commit dacd7d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engines/mads/nebular/dialogs_nebular.cpp
Expand Up @@ -328,7 +328,7 @@ void DialogsNebular::showDialog() {
TextView *dlg = new RexTextView(_vm);
dlg->show();
delete dlg;
break;
return;
}
case DIALOG_ANIMVIEW: {
AnimationView *dlg = new RexAnimationView(_vm);
Expand Down
2 changes: 2 additions & 0 deletions engines/mads/nebular/game_nebular.cpp
Expand Up @@ -110,7 +110,9 @@ void GameNebular::startGame() {
}
*/

_sectionNumber = 1;
initSection(_sectionNumber);
_vm->_events->setCursor(CURSOR_ARROW);
_statusFlag = true;

// Show the main menu
Expand Down
2 changes: 0 additions & 2 deletions engines/mads/nebular/menu_nebular.cpp
Expand Up @@ -136,14 +136,12 @@ void MainMenu::doFrame() {
addSpriteSlot();
}

_vm->_events->setCursor(CURSOR_ARROW);
_vm->_events->showCursor();
} else {
if ((_menuItemIndex == -1) || (_frameIndex == 0)) {
if (++_menuItemIndex == 6) {

// Reached end of display animation
_vm->_events->setCursor(CURSOR_ARROW);
_vm->_events->showCursor();
return;
} else if (_menuItemIndex == 4 && !shouldShowQuotes()) {
Expand Down

0 comments on commit dacd7d4

Please sign in to comment.