Modificat checkInput en varies seccions per a gastar global_inputs.cpp

This commit is contained in:
2025-03-11 09:27:34 +01:00
parent 482dc3de54
commit be857cc8c8
11 changed files with 71 additions and 92 deletions

View File

@@ -306,17 +306,6 @@ void Instructions::checkEvents()
// Comprueba las entradas
void Instructions::checkInput()
{
// Comprueba si se ha pulsado cualquier botón (de los usados para jugar)
if (Input::get()->checkAnyButtonPressed())
{
// JA_StopMusic();
section::name = section::Name::TITLE;
section::options = section::Options::TITLE_1;
section::attract_mode = section::AttractMode::TITLE_TO_DEMO;
return;
}
// Comprueba los inputs que se pueden introducir en cualquier sección del juego
globalInputs::check();
}