mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-12-01 16:42:42 +00:00
IOQ3 commit 2085
This commit is contained in:
parent
4f38b8bff7
commit
7b29f92e36
2 changed files with 7 additions and 3 deletions
|
@ -52,7 +52,9 @@ cvar_t *s_alEffectsLevel;
|
|||
|
||||
static qboolean enumeration_ext = qfalse;
|
||||
static qboolean enumeration_all_ext = qfalse;
|
||||
#ifdef USE_VOIP
|
||||
static qboolean capture_ext = qfalse;
|
||||
#endif
|
||||
|
||||
/*
|
||||
=================
|
||||
|
|
|
@ -588,11 +588,9 @@ Destructor for data allocated in a client structure
|
|||
*/
|
||||
void SV_FreeClient(client_t *client)
|
||||
{
|
||||
#ifdef USE_VOIP
|
||||
int index;
|
||||
|
||||
SV_Netchan_FreeQueue(client);
|
||||
SV_CloseDownload(client);
|
||||
|
||||
for(index = client->queuedVoipIndex; index < client->queuedVoipPackets; index++)
|
||||
{
|
||||
index %= ARRAY_LEN(client->voipPacket);
|
||||
|
@ -601,6 +599,10 @@ void SV_FreeClient(client_t *client)
|
|||
}
|
||||
|
||||
client->queuedVoipPackets = 0;
|
||||
#endif
|
||||
|
||||
SV_Netchan_FreeQueue(client);
|
||||
SV_CloseDownload(client);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue