fix: error en la seqüència final de retrocedir en el temps

This commit is contained in:
2025-01-05 09:51:33 +01:00
parent 7f9e2e53e3
commit b1193bd8fd
2 changed files with 2 additions and 2 deletions

View File

@@ -54,7 +54,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::CREDITS;
section::name = section::Name::LOGO;
#else // NORMAL GAME
section::name = section::Name::LOGO;
section::attract_mode = section::AttractMode::TITLE_TO_DEMO;

View File

@@ -966,7 +966,7 @@ void Game::updateBackground()
// Si el juego está completado, se reduce la velocidad de las nubes
if (state_ == GameState::COMPLETED)
{
Stage::total_power = (Stage::total_power > 400) ? (Stage::total_power - 25) : 200;
Stage::total_power = (Stage::total_power > 200) ? (Stage::total_power - 25) : 200;
}
// Calcula la velocidad en función de los globos explotados y el total de globos a explotar para acabar el juego