mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-10 00:04:48 -07:00
Merge branch 'master' of ssh://cockatrice.de/home/cockgit/cockatrice
This commit is contained in:
commit
6253d92053
3 changed files with 32 additions and 4 deletions
|
|
@ -303,7 +303,7 @@ QList<ServerInfo_Player *> Server_Game::getGameState(Server_Player *playerWhosAs
|
|||
Server_CardZone *zone = zoneIterator.next().value();
|
||||
QList<ServerInfo_Card *> cardList;
|
||||
if (
|
||||
((playerWhosAsking == player) && (zone->getType() != HiddenZone))
|
||||
(((playerWhosAsking == player) || (playerWhosAsking->getSpectator() && spectatorsSeeEverything)) && (zone->getType() != HiddenZone))
|
||||
|| ((playerWhosAsking != player) && (zone->getType() == PublicZone))
|
||||
) {
|
||||
QListIterator<Server_Card *> cardIterator(zone->cards);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue