Corregidos dos pequeños errores de sintaxis

This commit is contained in:
2024-02-15 13:18:33 +01:00
parent 1ee1ea560b
commit df4c1366fe
2 changed files with 1 additions and 2 deletions

View File

@@ -200,7 +200,7 @@ void Title::checkInput()
else if (input->checkInput(input_accept, REPEAT_FALSE) || input->checkInput(input_pause, REPEAT_FALSE)) 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; state = fade_loading_screen;
} }

View File

@@ -46,7 +46,6 @@ private:
SDL_Event *eventHandler; // Manejador de eventos SDL_Event *eventHandler; // Manejador de eventos
Texture *texture; // Textura con los graficos Texture *texture; // Textura con los graficos
Sprite *sprite; // Sprite para manejar la textura 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 SDL_Texture *bgTexture; // Textura para dibujar el fondo de la pantalla
Text *text; // Objeto para escribir texto en pantalla Text *text; // Objeto para escribir texto en pantalla
Text *infoText; // Objeto para escribir texto en pantalla Text *infoText; // Objeto para escribir texto en pantalla