From 2aae1421d7476e7449f9af4c5084b52a78b9c92b Mon Sep 17 00:00:00 2001 From: RickyRister Date: Sun, 14 Sep 2025 21:22:02 -0700 Subject: [PATCH] init activePlayer to -1 --- cockatrice/src/game/game_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/game/game_state.cpp b/cockatrice/src/game/game_state.cpp index c1ad38542..04248819f 100644 --- a/cockatrice/src/game/game_state.cpp +++ b/cockatrice/src/game/game_state.cpp @@ -13,7 +13,7 @@ GameState::GameState(AbstractGame *parent, bool _gameClosed) : QObject(parent), gameTimer(nullptr), secondsElapsed(_secondsElapsed), hostId(_hostId), isLocalGame(_isLocalGame), clients(_clients), gameStateKnown(_gameStateKnown), resuming(_resuming), currentPhase(_currentPhase), - activePlayer(0), gameClosed(_gameClosed) + activePlayer(-1), gameClosed(_gameClosed) { }