mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
game is almost playable again
This commit is contained in:
parent
0d4717f40b
commit
e796af2b89
34 changed files with 309 additions and 320 deletions
|
|
@ -10,7 +10,7 @@
|
|||
#include "decklist.h"
|
||||
|
||||
Server_Player::Server_Player(Server_Game *_game, int _playerId, const QString &_playerName, bool _spectator, Server_ProtocolHandler *_handler)
|
||||
: game(_game), handler(_handler), deck(0), playerId(_playerId), playerName(_playerName), spectator(_spectator), nextCardId(0), PlayerStatus(StatusNormal)
|
||||
: game(_game), handler(_handler), deck(0), playerId(_playerId), playerName(_playerName), spectator(_spectator), nextCardId(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
|
@ -85,9 +85,6 @@ void Server_Player::setupZones()
|
|||
}
|
||||
}
|
||||
deckZone->shuffle();
|
||||
|
||||
PlayerStatus = StatusPlaying;
|
||||
game->sendGameEvent(new Event_SetupZones(-1, playerId, deckZone->cards.size(), sbZone->cards.size()));
|
||||
}
|
||||
|
||||
void Server_Player::clearZones()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue