Fixed leaving a game which has not yet been started.

This commit is contained in:
lotodore
2008-05-16 20:42:46 +00:00
parent d4fbe6f23b
commit d4350fa806
3 changed files with 23 additions and 9 deletions
+5
View File
@@ -79,6 +79,10 @@ public:
{return m_cacheDir;}
void SetCacheDir(const std::string &cacheDir)
{m_cacheDir = cacheDir;}
bool GetSubscribeLobbyMsg() const
{return m_hasSubscribedLobbyMsg;}
void SetSubscribeLobbyMsg(bool setSubscribe)
{m_hasSubscribedLobbyMsg = setSubscribe;}
int GetClientSockaddrSize() const
{return m_addrFamily == AF_INET6 ? sizeof(sockaddr_in6) : sizeof(sockaddr_in);}
@@ -99,6 +103,7 @@ private:
std::string m_playerName;
std::string m_avatarFile;
std::string m_cacheDir;
bool m_hasSubscribedLobbyMsg;
ReceiveBuffer m_receiveBuffer;
};