diff --git a/source/gamestate_title.cpp b/source/gamestate_title.cpp index 17cf8654..5515bec7 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 7cd74279..6f01b98c 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