diff options
author | Paul Gilbert | 2015-03-07 17:18:51 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-03-07 17:18:51 -0500 |
commit | 27b6ded6f95fdc01faa5816b8577464685357c2d (patch) | |
tree | 855f34addbf5c6dfa7ad970c789819101c80df7e /engines/mads | |
parent | dacd7d4022ef049fbcf59a3b555b6d9ee8c1511e (diff) | |
download | scummvm-rg350-27b6ded6f95fdc01faa5816b8577464685357c2d.tar.gz scummvm-rg350-27b6ded6f95fdc01faa5816b8577464685357c2d.tar.bz2 scummvm-rg350-27b6ded6f95fdc01faa5816b8577464685357c2d.zip |
MADS: Fix Credits and Quotes option on the main menu
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/nebular/game_nebular.cpp | 41 |
1 files changed, 21 insertions, 20 deletions
diff --git a/engines/mads/nebular/game_nebular.cpp b/engines/mads/nebular/game_nebular.cpp index ce3b5a8f58..53cdc4df13 100644 --- a/engines/mads/nebular/game_nebular.cpp +++ b/engines/mads/nebular/game_nebular.cpp @@ -87,38 +87,39 @@ void GameNebular::startGame() { break; } - checkShowDialog(); - _winStatus = 0; - - /* - // Check copy protection - ProtectionResult protectionResult = checkCopyProtection(); - switch (protectionResult) { - case PROTECTION_FAIL: + do { + checkShowDialog(); + _winStatus = 0; + + /* + // Check copy protection + ProtectionResult protectionResult = checkCopyProtection(); + switch (protectionResult) { + case PROTECTION_FAIL: // Copy protection failed _scene._nextSceneId = 804; initializeGlobals(); _globals[kCopyProtectFailed] = true; return; - case PROTECTION_ESCAPE: + case PROTECTION_ESCAPE: // User escaped out of copy protection dialog _vm->quitGame(); return; - default: + default: // Copy protection check succeeded break; - } - */ + } + */ - _sectionNumber = 1; - initSection(_sectionNumber); - _vm->_events->setCursor(CURSOR_ARROW); - _statusFlag = true; + _sectionNumber = 1; + initSection(_sectionNumber); + _vm->_events->setCursor(CURSOR_ARROW); + _statusFlag = true; - // Show the main menu - _vm->_dialogs->_pendingDialog = DIALOG_MAIN_MENU; - _vm->_dialogs->showDialog(); - _vm->_dialogs->_pendingDialog = DIALOG_NONE; + // Show the main menu + _vm->_dialogs->_pendingDialog = DIALOG_MAIN_MENU; + _vm->_dialogs->showDialog(); + } while (!_vm->shouldQuit() && _vm->_dialogs->_pendingDialog != DIALOG_NONE); _priorSectionNumber = 0; _priorSectionNumber = -1; |