mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-21 18:02:14 -07:00
Have the server respect gameType info when setting up zones.
* ServerPlayer::setupZones is now passed the room->getGameTypes(); * ServerPlayer::setupZones now checks if the GameType String includes "Commander" and then sets the life total to 40 instead.
This commit is contained in:
parent
dde2f8b9ad
commit
fb06f1197a
3 changed files with 11 additions and 5 deletions
|
|
@ -169,7 +169,7 @@ public:
|
|||
void addCounter(Server_Counter *counter);
|
||||
|
||||
void clearZones();
|
||||
void setupZones();
|
||||
void setupZones(const QStringList& gameTypes);
|
||||
|
||||
Response::ResponseCode drawCards(GameEventStorage &ges, int number);
|
||||
Response::ResponseCode moveCard(GameEventStorage &ges,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue