Skip to content

Commit

Permalink
PEGASUS: Fix bug in the credits
Browse files Browse the repository at this point in the history
Not that this code will be final (in all likelihood :P)
  • Loading branch information
Matthew Hoops committed Sep 5, 2011
1 parent 4f8cf1e commit 7070d88
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions engines/pegasus/credits.cpp
Expand Up @@ -102,9 +102,11 @@ void PegasusEngine::runCredits() {
}
break;
case Common::KEYCODE_RETURN:
drawCredits(curButton, true, frame, creditsVideo);
_system->updateScreen();
continueLooping = (curButton != kCreditsMainMenu);
if (curButton == kCreditsMainMenu) {
drawCredits(curButton, true, frame, creditsVideo);
_system->updateScreen();
continueLooping = false;
}
break;
default:
break;
Expand Down

0 comments on commit 7070d88

Please sign in to comment.