fix: coger una segunda máquina de café mientras se tenía ya una no hacía nada
This commit is contained in:
@@ -470,9 +470,10 @@ bool Player::isPowerUp()
|
||||
}
|
||||
|
||||
// Establece el valor de la variable
|
||||
void Player::setPowerUp(bool value)
|
||||
void Player::setPowerUp()
|
||||
{
|
||||
powerUp = value;
|
||||
powerUp = true;
|
||||
powerUpCounter = PLAYER_POWERUP_COUNTER;
|
||||
}
|
||||
|
||||
// Obtiene el valor de la variable
|
||||
|
||||
Reference in New Issue
Block a user