forked from jaildesigner-jailgames/jaildoctors_dilemma
Arreglada la clase Screen. Había un lio de conceptos con varias variables
This commit is contained in:
@@ -251,6 +251,9 @@ void Intro::update()
|
||||
// Gestiona el contador de carga
|
||||
updateLoad();
|
||||
|
||||
// Actualiza las notificaciones
|
||||
screen->updateNotifier();
|
||||
|
||||
// Comprueba si ha terminado la intro
|
||||
if (loadCounter >= 768)
|
||||
{
|
||||
@@ -281,7 +284,7 @@ void Intro::render()
|
||||
section_t Intro::run()
|
||||
{
|
||||
// Inicia el sonido de carga
|
||||
JA_SetVolume(64);
|
||||
JA_SetVolume(64);
|
||||
JA_PlayMusic(loadingSound1);
|
||||
|
||||
while (section.name == SECTION_PROG_INTRO)
|
||||
@@ -290,7 +293,7 @@ section_t Intro::run()
|
||||
render();
|
||||
}
|
||||
|
||||
JA_SetVolume(128);
|
||||
JA_SetVolume(128);
|
||||
return section;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user