nous sons per al menu de servei

demo: ara s'escolten els efectes d'audio
This commit is contained in:
2025-06-30 19:38:46 +02:00
parent b15dfdc7e3
commit 5321a9e3b5
5 changed files with 7 additions and 6 deletions

View File

@@ -594,9 +594,9 @@ void Director::runHiScoreTable()
// Ejecuta el juego en modo demo
void Director::runDemoGame()
{
const auto player_id = (rand() % 2) + 1;
constexpr auto current_stage = 0;
auto game = std::make_unique<Game>(player_id, current_stage, GAME_MODE_DEMO_ON);
const auto PLAYER_ID = (rand() % 2) + 1;
constexpr auto CURRENT_STAGE = 0;
auto game = std::make_unique<Game>(PLAYER_ID, CURRENT_STAGE, GAME_MODE_DEMO_ON);
game->run();
}