mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-09 15:54:47 -07:00
optional setting for horizonal hand display
This commit is contained in:
parent
33606f55ce
commit
e6e20cb048
19 changed files with 275 additions and 76 deletions
|
|
@ -208,7 +208,8 @@ void TabGame::actRemoveLocalArrows()
|
|||
|
||||
Player *TabGame::addPlayer(int playerId, const QString &playerName)
|
||||
{
|
||||
Player *newPlayer = new Player(playerName, playerId, playerId == localPlayerId, client, this);
|
||||
// XXX Find a different criterion for the 'mirrored' flag. When spectating, both players are not local, but only one should be mirrored.
|
||||
Player *newPlayer = new Player(playerName, playerId, playerId == localPlayerId, playerId != localPlayerId, client, this);
|
||||
scene->addPlayer(newPlayer);
|
||||
|
||||
connect(newPlayer, SIGNAL(newCardAdded(AbstractCardItem *)), this, SLOT(newCardAdded(AbstractCardItem *)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue