corregidos varios bugs

This commit is contained in:
2024-09-11 20:42:21 +02:00
parent 41c3e1f32c
commit a435e3ed8c
7 changed files with 29 additions and 27 deletions

View File

@@ -902,7 +902,7 @@ void Director::runHiScoreTable()
// Ejecuta el juego en modo demo
void Director::runDemoGame()
{
const int playerID = rand() % 2;
const int playerID = (rand() % 2) + 1;
demoGame = new Game(playerID, 0, screen, asset, lang, input, true, param, options, section, nullptr);
demoGame->run();
delete demoGame;