Network Playernames ( and some more changes in the options menu )

This commit is contained in:
Titus Tscharntke
2010-03-23 01:38:19 +00:00
parent c26e924e8c
commit 397fe3dc41
6 changed files with 197 additions and 56 deletions

View File

@@ -160,7 +160,7 @@ void ClientInterface::updateLobby()
//send intro message
NetworkMessageIntro sendNetworkMessageIntro(getNetworkVersionString(), getHostName(), -1);
NetworkMessageIntro sendNetworkMessageIntro(getNetworkVersionString(), Config::getInstance().getString("NetPlayerName"), -1);
playerIndex= networkMessageIntro.getPlayerIndex();
serverName= networkMessageIntro.getName();