IOQ3 commit 2299

This commit is contained in:
Richard Allen 2012-10-04 15:54:13 +00:00
parent 914f0cfadf
commit 66e8592580

View file

@ -1324,9 +1324,9 @@ char *ClientConnect(int clientNum, qboolean firstTime, qboolean isBot)
}
// if a player reconnects quickly after a disconnect, the client disconnect may never be called, thus flag can get lost in the ether
if (ent->inuse) {
G_LogPrintf("Forcing disconnect on active client: %i\n", ent-g_entities);
G_LogPrintf("Forcing disconnect on active client: %i\n", clientNum);
// so lets just fix up anything that should happen on a disconnect
ClientDisconnect(ent-g_entities);
ClientDisconnect(clientNum);
}
// they can connect
ent->client = level.clients + clientNum;