Ahora aparecen objetos en el modo demo
This commit is contained in:
@@ -1539,7 +1539,7 @@ void Game::updatePlayers()
|
|||||||
{
|
{
|
||||||
killPlayer(player);
|
killPlayer(player);
|
||||||
|
|
||||||
if (demo.enabled)
|
if (demo.enabled && !player->isAlive())
|
||||||
{
|
{
|
||||||
section->name = SECTION_PROG_HI_SCORE_TABLE;
|
section->name = SECTION_PROG_HI_SCORE_TABLE;
|
||||||
}
|
}
|
||||||
@@ -2129,7 +2129,8 @@ void Game::checkBulletBalloonCollision()
|
|||||||
|
|
||||||
// Suelta el item en caso de que salga uno
|
// Suelta el item en caso de que salga uno
|
||||||
const Uint8 droppeditem = dropItem();
|
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)
|
if (droppeditem != ITEM_COFFEE_MACHINE)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -511,10 +511,9 @@ bool Player::hasExtraHit()
|
|||||||
void Player::giveExtraHit()
|
void Player::giveExtraHit()
|
||||||
{
|
{
|
||||||
extraHit = true;
|
extraHit = true;
|
||||||
coffees++;
|
if (coffees < 2)
|
||||||
if (coffees > 2)
|
|
||||||
{
|
{
|
||||||
coffees = 2;
|
coffees++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user