forked from jaildesigner-jailgames/jaildoctors_dilemma
Añadidos nuevos trucos
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user