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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user