Trabajando en la sección EnterID
This commit is contained in:
@@ -87,7 +87,6 @@ void Logo::checkEventHandler()
|
||||
switch (eventHandler->key.keysym.scancode)
|
||||
{
|
||||
case SDL_SCANCODE_ESCAPE:
|
||||
// std::cout << "PULSADO ESCAPE" << std::endl;
|
||||
section.name = SECTION_PROG_QUIT;
|
||||
break;
|
||||
|
||||
@@ -270,7 +269,13 @@ void Logo::update()
|
||||
// Comprueba si ha terminado el logo
|
||||
if (counter == endLogo + postLogo)
|
||||
{
|
||||
if (section.subsection == SUBSECTION_LOGO_TO_INTRO)
|
||||
if (options->online.jailerID == "")
|
||||
{
|
||||
section.name = SECTION_PROG_ENTER_ID;
|
||||
section.subsection = 0;
|
||||
}
|
||||
|
||||
else if (section.subsection == SUBSECTION_LOGO_TO_INTRO)
|
||||
{
|
||||
section.name = SECTION_PROG_INTRO;
|
||||
section.subsection = 0;
|
||||
|
||||
Reference in New Issue
Block a user