working on text notifications

This commit is contained in:
2021-08-27 22:40:48 +02:00
parent aac11d05aa
commit 3f53ba333b
15 changed files with 263 additions and 320 deletions

View File

@@ -672,9 +672,9 @@ void Player::setPowerUpCounter(Uint16 value)
// Actualiza el valor de la variable
void Player::updatePowerUpCounter()
{
if (mPowerUpCounter > 0)
if ((mPowerUpCounter > 0) && (mPowerUp))
{
--mPowerUpCounter;
mPowerUpCounter--;
}
else
{