Fix: De enter_id iba siempre a intro

This commit is contained in:
2022-11-23 22:22:32 +01:00
parent d382bb6403
commit 8c425f5698
2 changed files with 12 additions and 1 deletions

View File

@@ -39,6 +39,17 @@ Logo::Logo(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *as
counter = 0;
section.name = SECTION_PROG_LOGO;
section.subsection = subsection;
if (section.subsection == SUBSECTION_LOGO_TO_INTRO)
{
std::cout << "SUBSECTION_LOGO_TO_INTRO" << std::endl;
}
else
{
std::cout << "SUBSECTION_LOGO_TO_TITLE" << std::endl;
}
ticks = 0;
ticksSpeed = 15;
initFade = 300;