En el titulo no se podia empezar a jugar si no era con mando

This commit is contained in:
2024-06-30 23:01:55 +02:00
parent 4e9135c1af
commit 59671d6e55
4 changed files with 16 additions and 7 deletions

View File

@@ -235,8 +235,19 @@ void Title::checkInput()
}
}
// Comprueba solo el teclado
if (input->checkInput(input_window_fullscreen, REPEAT_FALSE))
// Comprueba el teclado
if (input->checkInput(input_exit, REPEAT_FALSE))
{
section->name = SECTION_PROG_QUIT;
}
else if (input->checkInput(input_accept, REPEAT_FALSE))
{
fade->activate();
postFade = 0;
}
else if (input->checkInput(input_window_fullscreen, REPEAT_FALSE))
{
screen->switchVideoMode();
}