diff --git a/source/credits.cpp b/source/credits.cpp index fe83e39..f1187d3 100644 --- a/source/credits.cpp +++ b/source/credits.cpp @@ -68,6 +68,7 @@ Credits::~Credits() SDL_DestroyTexture(text_texture_); SDL_DestroyTexture(canvas_); resetVolume(); + JA_StopMusic(); } // Bucle principal @@ -477,7 +478,7 @@ void Credits::updateAllFades() fade_out_->update(); if (fade_out_->hasEnded()) { - section::name = section::Name::LOGO; + section::name = section::Name::HI_SCORE_TABLE; } } diff --git a/source/director.cpp b/source/director.cpp index 3eb1c3d..27070a4 100644 --- a/source/director.cpp +++ b/source/director.cpp @@ -52,7 +52,7 @@ Director::Director(int argc, const char *argv[]) section::name = section::Name::GAME; section::options = section::Options::GAME_PLAY_1P; #elif DEBUG - section::name = section::Name::LOGO; + section::name = section::Name::CREDITS; #else // NORMAL GAME section::name = section::Name::LOGO; section::attract_mode = section::AttractMode::TITLE_TO_DEMO;