mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-13 22:12:15 -07:00
Reorder class member variables initialization in TabGame
This commit is contained in:
parent
954489e6c0
commit
3a5cdd6ba8
1 changed files with 2 additions and 2 deletions
|
|
@ -236,6 +236,7 @@ void DeckViewContainer::setDeck(const DeckLoader &deck)
|
||||||
|
|
||||||
TabGame::TabGame(TabSupervisor *_tabSupervisor, GameReplay *_replay)
|
TabGame::TabGame(TabSupervisor *_tabSupervisor, GameReplay *_replay)
|
||||||
: Tab(_tabSupervisor),
|
: Tab(_tabSupervisor),
|
||||||
|
secondsElapsed(0),
|
||||||
hostId(-1),
|
hostId(-1),
|
||||||
localPlayerId(-1),
|
localPlayerId(-1),
|
||||||
spectator(true),
|
spectator(true),
|
||||||
|
|
@ -245,8 +246,7 @@ TabGame::TabGame(TabSupervisor *_tabSupervisor, GameReplay *_replay)
|
||||||
activeCard(0),
|
activeCard(0),
|
||||||
gameClosed(false),
|
gameClosed(false),
|
||||||
replay(_replay),
|
replay(_replay),
|
||||||
currentReplayStep(0),
|
currentReplayStep(0)
|
||||||
secondsElapsed(0)
|
|
||||||
{
|
{
|
||||||
setAttribute(Qt::WA_DeleteOnClose);
|
setAttribute(Qt::WA_DeleteOnClose);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue