Show and update admin player of a game even when in lobby and not in the game.

This commit is contained in:
lotodore
2007-10-12 14:32:25 +00:00
parent 96d1f34f5c
commit 4f00333599
21 changed files with 227 additions and 22 deletions
+2 -1
View File
@@ -69,10 +69,11 @@ struct GameData
struct GameInfo
{
GameInfo() : mode(GAME_MODE_CREATED), isPasswordProtected(false) {}
GameInfo() : mode(GAME_MODE_CREATED), adminPlayerId(0), isPasswordProtected(false) {}
std::string name;
GameData data;
GameMode mode;
unsigned adminPlayerId;
PlayerIdList players;
bool isPasswordProtected;
};