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:
Martin Gerhardy 2021-10-10 11:31:42 +02:00
parent 1a6ac67be1
commit 8296ad436f
2 changed files with 2 additions and 1 deletions

View file

@ -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