diff --git a/source/game.cpp b/source/game.cpp index e015004..e0252fd 100644 --- a/source/game.cpp +++ b/source/game.cpp @@ -1539,7 +1539,7 @@ void Game::updatePlayers() { killPlayer(player); - if (demo.enabled) + if (demo.enabled && !player->isAlive()) { section->name = SECTION_PROG_HI_SCORE_TABLE; } @@ -2129,7 +2129,8 @@ void Game::checkBulletBalloonCollision() // Suelta el item en caso de que salga uno const Uint8 droppeditem = dropItem(); - if ((droppeditem != NO_KIND) && !(demo.enabled) && !(demo.recording)) + //if ((droppeditem != NO_KIND) && !(demo.enabled) && !(demo.recording)) + if ((droppeditem != NO_KIND) && !(demo.recording)) { if (droppeditem != ITEM_COFFEE_MACHINE) { diff --git a/source/player.cpp b/source/player.cpp index 98a6675..b93dc44 100644 --- a/source/player.cpp +++ b/source/player.cpp @@ -511,10 +511,9 @@ bool Player::hasExtraHit() void Player::giveExtraHit() { extraHit = true; - coffees++; - if (coffees > 2) + if (coffees < 2) { - coffees = 2; + coffees++; } }