Fix: De enter_id iba siempre a intro
This commit is contained in:
@@ -36,11 +36,11 @@ EnterID::EnterID(SDL_Renderer *renderer, Screen *screen, Asset *asset, options_t
|
|||||||
pos = 0;
|
pos = 0;
|
||||||
name[pos] = 0;
|
name[pos] = 0;
|
||||||
maxLenght = 15;
|
maxLenght = 15;
|
||||||
|
this->section.subsection = section.subsection;
|
||||||
|
|
||||||
if (options->online.enabled && options->online.jailerID == "")
|
if (options->online.enabled && options->online.jailerID == "")
|
||||||
{
|
{
|
||||||
this->section.name = SECTION_PROG_ENTER_ID;
|
this->section.name = SECTION_PROG_ENTER_ID;
|
||||||
this->section.subsection = section.subsection;
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -39,6 +39,17 @@ Logo::Logo(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *as
|
|||||||
counter = 0;
|
counter = 0;
|
||||||
section.name = SECTION_PROG_LOGO;
|
section.name = SECTION_PROG_LOGO;
|
||||||
section.subsection = subsection;
|
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;
|
ticks = 0;
|
||||||
ticksSpeed = 15;
|
ticksSpeed = 15;
|
||||||
initFade = 300;
|
initFade = 300;
|
||||||
|
|||||||
Reference in New Issue
Block a user