Fixed iterator bug.
This commit is contained in:
@@ -115,6 +115,7 @@ GameClient::GameClient()
|
||||
void StepManiaLanServer::Disconnect(const unsigned int clientNum)
|
||||
{
|
||||
vector<GameClient*>::iterator Iterator;
|
||||
Iterator = Client.begin();
|
||||
Client[clientNum]->clientSocket.close();
|
||||
if (clientNum == (Client.size()-1))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user