aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/nebular
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-07 17:14:49 -0500
committerPaul Gilbert2015-03-07 17:14:49 -0500
commitdacd7d4022ef049fbcf59a3b555b6d9ee8c1511e (patch)
tree4722ff69a2f317097e2994d54068d1b1d7354f5c /engines/mads/nebular
parentc80c74e49926daed108f73e115fda7ba5901eb61 (diff)
downloadscummvm-rg350-dacd7d4022ef049fbcf59a3b555b6d9ee8c1511e.tar.gz
scummvm-rg350-dacd7d4022ef049fbcf59a3b555b6d9ee8c1511e.tar.bz2
scummvm-rg350-dacd7d4022ef049fbcf59a3b555b6d9ee8c1511e.zip
MADS: Correctly show main menu after showing credits
Diffstat (limited to 'engines/mads/nebular')
-rw-r--r--engines/mads/nebular/dialogs_nebular.cpp2
-rw-r--r--engines/mads/nebular/game_nebular.cpp2
-rw-r--r--engines/mads/nebular/menu_nebular.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/engines/mads/nebular/dialogs_nebular.cpp b/engines/mads/nebular/dialogs_nebular.cpp
index 6985455d2a..23aef6bdb5 100644
--- a/engines/mads/nebular/dialogs_nebular.cpp
+++ b/engines/mads/nebular/dialogs_nebular.cpp
@@ -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);
diff --git a/engines/mads/nebular/game_nebular.cpp b/engines/mads/nebular/game_nebular.cpp
index 8c8d4ab974..ce3b5a8f58 100644
--- a/engines/mads/nebular/game_nebular.cpp
+++ b/engines/mads/nebular/game_nebular.cpp
@@ -110,7 +110,9 @@ void GameNebular::startGame() {
}
*/
+ _sectionNumber = 1;
initSection(_sectionNumber);
+ _vm->_events->setCursor(CURSOR_ARROW);
_statusFlag = true;
// Show the main menu
diff --git a/engines/mads/nebular/menu_nebular.cpp b/engines/mads/nebular/menu_nebular.cpp
index 358a978cfa..2fdef3443d 100644
--- a/engines/mads/nebular/menu_nebular.cpp
+++ b/engines/mads/nebular/menu_nebular.cpp
@@ -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()) {