clear out m_net_client on disconnect()

multiple connect() attempts in one run still does not work
This commit is contained in:
Josh Holtrop 2012-11-04 08:10:49 -05:00
parent 42791de89b
commit 412b84e268

View File

@ -92,6 +92,7 @@ void Client::disconnect()
} }
m_net_client->Destroy(); m_net_client->Destroy();
m_net_client = NULL;
} }
void Client::run(bool fullscreen, int width, int height, std::string pname) void Client::run(bool fullscreen, int width, int height, std::string pname)