TWINE: fixed restoring the menu texts after quitting the credits scene
when the credits scene is shown from the menu, we have to restore the proper menu text - otherwise the scene text is still active
This commit is contained in:
parent
1a6ac67be1
commit
8296ad436f
2 changed files with 2 additions and 1 deletions
|
@ -591,6 +591,8 @@ int32 Menu::processMenu(MenuSettings *menuSettings, bool showCredits) {
|
|||
}
|
||||
if (showCredits && loopMillis - startMillis > 11650) {
|
||||
_engine->_menuOptions->showCredits();
|
||||
_engine->_text->initTextBank(TextBankId::Options_and_menus);
|
||||
|
||||
// TODO the original game also performs these actions:
|
||||
// play FLA_DRAGON3 fla
|
||||
// display RESSHQR_INTROSCREEN1IMG
|
||||
|
|
|
@ -111,7 +111,6 @@ void MenuOptions::showCredits() {
|
|||
_engine->_screens->clearScreen();
|
||||
|
||||
_engine->_input->enableKeyMap(uiKeyMapId);
|
||||
// TODO: quitting the credits scene doesn't restore the menu texts
|
||||
}
|
||||
|
||||
void MenuOptions::showEndSequence() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue