From df4c1366fe338c14a31e4d162c8bdc67834ef034 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Valor=20Mart=C3=ADnez?= Date: Thu, 15 Feb 2024 13:18:33 +0100 Subject: [PATCH] =?UTF-8?q?Corregidos=20dos=20peque=C3=B1os=20errores=20de?= =?UTF-8?q?=20sintaxis?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/gamestate_title.cpp | 2 +- source/gamestate_title.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/gamestate_title.cpp b/source/gamestate_title.cpp index 17cf865..5515bec 100644 --- a/source/gamestate_title.cpp +++ b/source/gamestate_title.cpp @@ -200,7 +200,7 @@ void Title::checkInput() else if (input->checkInput(input_accept, REPEAT_FALSE) || input->checkInput(input_pause, REPEAT_FALSE)) { - if (state = show_loading_screen) + if (state == show_loading_screen) { state = fade_loading_screen; } diff --git a/source/gamestate_title.h b/source/gamestate_title.h index 7cd7427..6f01b98 100644 --- a/source/gamestate_title.h +++ b/source/gamestate_title.h @@ -46,7 +46,6 @@ private: SDL_Event *eventHandler; // Manejador de eventos Texture *texture; // Textura con los graficos Sprite *sprite; // Sprite para manejar la textura - Texture *titleLogo; // Textura con el logo del título del juego SDL_Texture *bgTexture; // Textura para dibujar el fondo de la pantalla Text *text; // Objeto para escribir texto en pantalla Text *infoText; // Objeto para escribir texto en pantalla