Añadidos nuevos trucos

This commit is contained in:
2022-11-06 15:05:17 +01:00
parent bf59cc01e4
commit 6dfc7e135c

View File

@@ -40,7 +40,7 @@ Game::Game(SDL_Renderer *renderer, Screen *screen, Resource *resource, Asset *as
// Inicializa el resto de variables
ticks = 0;
ticksSpeed = 15;
board.lives = 2;
board.lives = 9;
board.items = 0;
board.rooms = 1;
board.music = true;
@@ -410,7 +410,7 @@ void Game::killPlayer()
this->player->pause();
// Deshabilita las entradas hasta que no haya ninguna activa
//input->disableUntil(d_keyPressed);
// input->disableUntil(d_keyPressed);
}
// Recarga todas las texturas
@@ -513,6 +513,12 @@ bool Game::checkEndGame()
return true;
}
if (options->cheat.jailEnabled && a && c)
{
section.name = SECTION_PROG_ENDING;
return true;
}
return false;
}