fix: el jugador sempre s'inicialitzava en el stat "playing" en lloc de "waiting", per tant, sempre jugaven tots els jugadors

This commit is contained in:
2024-08-14 19:59:54 +02:00
parent 1839df142d
commit 032c5e7129

View File

@@ -18,11 +18,9 @@ Player::Player(float x, int y, std::vector<Texture *> texture, std::vector<std::
powerSprite->setPosY(y - (powerSprite->getHeight() - playerSprite->getHeight()));
// Inicializa variables
// enabled = false;
statusPlaying = PLAYER_STATUS_WAITING;
scoreBoardPanel = 0;
name = "";
init();
}
// Destructor