Pass on admin state if the admin leaves the network game, so that someone else can start the game.

This commit is contained in:
lotodore committed 2007-10-03 13:36:47 +00:00
1 parent 8385b2e28d
commit 076d44b0ae
19 files changed
+239 -49

No files matched your search

@@ -71,6 +71,7 @@ public slots:
void addConnectedPlayer(unsigned, QString, int);
void updatePlayer(unsigned, QString);
void removePlayer(unsigned, QString);
void newGameAdmin(unsigned, QString);
void playerSelected(QTreeWidgetItem*, QTreeWidgetItem*);
void refresh(int actionID);
@@ -99,6 +100,7 @@ private:
Session *mySession;
createInternetGameDialogImpl *myCreateInternetGameDialog;
QString currentGameName;
unsigned myPlayerId;
bool isAdmin;
bool inGame;
LobbyChat *myChat;