Fix: En la secuencia del final, al pulsar ESC se cerraba el juego. Ahora vuelve al logo

This commit is contained in:
2022-12-29 15:26:02 +01:00
parent 48b8ae049a
commit 4c3c844ccf
4 changed files with 10 additions and 9 deletions

View File

@@ -195,7 +195,8 @@ void Ending2::checkEventHandler()
switch (eventHandler->key.keysym.scancode)
{
case SDL_SCANCODE_ESCAPE:
section->name = SECTION_PROG_QUIT;
section->name = SECTION_PROG_LOGO;
section->subsection = SUBSECTION_LOGO_TO_INTRO;
break;
case SDL_SCANCODE_B: