More protocol changes for rejoin. Re-adding server password to protocol.
This commit is contained in:
+5
-5
@@ -113,11 +113,11 @@ void Session::startLocalGame(const GameData &gameData, const StartData &startDat
|
||||
//PlayerData erzeugen
|
||||
// UniqueId = PlayerNumber for local games.
|
||||
boost::shared_ptr<PlayerData> playerData(new PlayerData(
|
||||
i,
|
||||
i,
|
||||
i == 0 ? PLAYER_TYPE_HUMAN : PLAYER_TYPE_COMPUTER,
|
||||
PLAYER_RIGHTS_NORMAL,
|
||||
i == 0));
|
||||
i,
|
||||
i,
|
||||
i == 0 ? PLAYER_TYPE_HUMAN : PLAYER_TYPE_COMPUTER,
|
||||
PLAYER_RIGHTS_NORMAL,
|
||||
i == 0));
|
||||
playerData->SetName(myConfig->readConfigString(myName.str()));
|
||||
playerData->SetAvatarFile(myConfig->readConfigString(myAvatar.str()));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user