Abans de llevar checkInputMod

This commit is contained in:
2024-11-01 16:48:03 +01:00
parent cd68c5ffea
commit 80a110e1d7
5 changed files with 12 additions and 18 deletions

View File

@@ -175,7 +175,6 @@ void Title::checkEvents()
if (!define_buttons_->isEnabled())
{
SDL_Event event;
// Comprueba los eventos que hay en la cola
while (SDL_PollEvent(&event))
{
// Evento de salida de la aplicación
@@ -282,7 +281,7 @@ void Title::checkInput()
// Comprueba el input para el resto de objetos
Screen::get()->checkInput();
define_buttons_->checkInput();
define_buttons_->checkEvents();
// Comprueba los inputs que se pueden introducir en cualquier sección del juego
globalInputs::check();