FIX: afegit StopChannel en lloc de PauseChannel en el destructor del Logo

Retocada la animació del logo del joc en Title
This commit is contained in:
2024-12-09 19:08:22 +01:00
parent 301c059a26
commit 7016849587
5 changed files with 77 additions and 27 deletions

View File

@@ -59,7 +59,7 @@ Logo::~Logo()
{
jail_texture_->setColor(255, 255, 255);
since_texture_->setColor(255, 255, 255);
JA_PauseChannel(-1);
JA_StopChannel(-1);
}
// Recarga todas las texturas
@@ -101,7 +101,6 @@ void Logo::checkInput()
// Comprueba si se ha pulsado cualquier botón (de los usados para jugar)
if (Input::get()->checkAnyButtonPressed())
{
JA_StopMusic();
section::name = section::Name::TITLE;
section::options = section::Options::TITLE_1;
return;