mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-18 00:12:15 -07:00
init activePlayer to -1
This commit is contained in:
parent
5a11ce3e92
commit
2aae1421d7
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ GameState::GameState(AbstractGame *parent,
|
||||||
bool _gameClosed)
|
bool _gameClosed)
|
||||||
: QObject(parent), gameTimer(nullptr), secondsElapsed(_secondsElapsed), hostId(_hostId), isLocalGame(_isLocalGame),
|
: QObject(parent), gameTimer(nullptr), secondsElapsed(_secondsElapsed), hostId(_hostId), isLocalGame(_isLocalGame),
|
||||||
clients(_clients), gameStateKnown(_gameStateKnown), resuming(_resuming), currentPhase(_currentPhase),
|
clients(_clients), gameStateKnown(_gameStateKnown), resuming(_resuming), currentPhase(_currentPhase),
|
||||||
activePlayer(0), gameClosed(_gameClosed)
|
activePlayer(-1), gameClosed(_gameClosed)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue