shakeScreen ya no detiene la ejecución del programa

This commit is contained in:
2024-05-31 21:43:20 +02:00
parent 9ae49fcc40
commit b7cda085cc
7 changed files with 113 additions and 98 deletions

View File

@@ -372,7 +372,7 @@ void Player::setAlive(bool value)
{
alive = value;
if (!value)
if (!alive)
{
deathSprite->setPosX(headSprite->getRect().x);
deathSprite->setPosY(headSprite->getRect().y);