forked from jaildesigner-jailgames/jaildoctors_dilemma
Arreglada la clase Screen. Había un lio de conceptos con varias variables
This commit is contained in:
@@ -85,7 +85,7 @@ void Logo::checkEventHandler()
|
||||
switch (eventHandler->key.keysym.scancode)
|
||||
{
|
||||
case SDL_SCANCODE_ESCAPE:
|
||||
//std::cout << "PULSADO ESCAPE" << std::endl;
|
||||
// std::cout << "PULSADO ESCAPE" << std::endl;
|
||||
section.name = SECTION_PROG_QUIT;
|
||||
break;
|
||||
|
||||
@@ -262,6 +262,9 @@ void Logo::update()
|
||||
// Gestiona el color de las texturas
|
||||
updateTextureColors();
|
||||
|
||||
// Actualiza las notificaciones
|
||||
screen->updateNotifier();
|
||||
|
||||
// Comprueba si ha terminado el logo
|
||||
if (counter == endLogo + postLogo)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user