No se podía empezar a jugar con el teclado
This commit is contained in:
@@ -251,6 +251,16 @@ void Title::checkInput()
|
||||
section->options = SECTION_OPTIONS_QUIT_NORMAL;
|
||||
}
|
||||
|
||||
// Comprueba el teclado para empezar a jugar
|
||||
if (input->checkInput(input_start, false, INPUT_USE_KEYBOARD))
|
||||
{
|
||||
if (section->options == SECTION_OPTIONS_TITLE_2 || ALLOW_TITLE_ANIMATION_SKIP)
|
||||
{
|
||||
fade->activate();
|
||||
postFade = 1;
|
||||
}
|
||||
}
|
||||
|
||||
// Comprueba si se ha pulsado la tecla 1 o 2 para definir los controladores
|
||||
const Uint8 *keyStates = SDL_GetKeyboardState(nullptr);
|
||||
|
||||
@@ -288,7 +298,7 @@ void Title::checkInput()
|
||||
break;
|
||||
}
|
||||
|
||||
// Comprueba el botón de START
|
||||
// Comprueba el botón de START de los mandos
|
||||
for (int i = 0; i < input->getNumControllers(); ++i)
|
||||
{
|
||||
if (input->checkInput(input_start, false, INPUT_USE_GAMECONTROLLER, i))
|
||||
|
||||
Reference in New Issue
Block a user