mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
Add getIsLocalGame to TabGame
This commit is contained in:
parent
a7a0ea23ca
commit
2a7fc827f4
2 changed files with 6 additions and 2 deletions
|
|
@ -316,7 +316,8 @@ TabGame::TabGame(TabSupervisor *_tabSupervisor, GameReplay *_replay)
|
|||
replay(_replay),
|
||||
currentReplayStep(0),
|
||||
sayLabel(0),
|
||||
sayEdit(0)
|
||||
sayEdit(0),
|
||||
isLocalGame(_tabSupervisor->getIsLocalGame())
|
||||
{
|
||||
// THIS CTOR IS USED ON REPLAY
|
||||
gameInfo.CopyFrom(replay->game_info());
|
||||
|
|
@ -382,7 +383,8 @@ TabGame::TabGame(TabSupervisor *_tabSupervisor, QList<AbstractClient *> &_client
|
|||
activeCard(0),
|
||||
gameClosed(false),
|
||||
replay(0),
|
||||
replayDock(0)
|
||||
replayDock(0),
|
||||
isLocalGame(_tabSupervisor->getIsLocalGame())
|
||||
{
|
||||
// THIS CTOR IS USED ON GAMES
|
||||
gameInfo.set_started(false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue