More protocol changes for rejoin. Re-adding server password to protocol.

This commit is contained in:
lotodore
2011-10-03 08:03:58 +00:00
parent f8c89304d1
commit aee0adbffe
123 changed files with 766 additions and 535 deletions
+1 -2
View File
@@ -568,8 +568,7 @@ boost::shared_ptr<PlayerInterface>
ServerGame::GetPlayerInterfaceFromGame(const std::string &playerName)
{
boost::shared_ptr<PlayerInterface> tmpPlayer;
if (m_game)
{
if (m_game) {
tmpPlayer = m_game->getPlayerByName(playerName);
}
return tmpPlayer;