The server now sends a notification if the game name is already in use.

This commit is contained in:
lotodore
2010-07-14 08:17:07 +00:00
parent 99d2c2569f
commit 7899f66cf6
3 changed files with 29 additions and 4 deletions
+2 -2
View File
@@ -199,7 +199,7 @@ SessionManager::IsPlayerConnected(const string &playerName) const
SessionWrapper tmpSession = GetSessionByPlayerName(playerName);
if (tmpSession.sessionData.get() && tmpSession.playerData.get())
if (tmpSession.sessionData && tmpSession.playerData)
retVal = true;
return retVal;
@@ -212,7 +212,7 @@ SessionManager::IsPlayerConnected(unsigned uniqueId) const
SessionWrapper tmpSession = GetSessionByUniquePlayerId(uniqueId);
if (tmpSession.sessionData.get() && tmpSession.playerData.get())
if (tmpSession.sessionData && tmpSession.playerData)
retVal = true;
return retVal;