mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2025-01-19 07:30:53 +00:00
Avoid shuting down opus voip codec multiple times
This commit is contained in:
parent
755b2f38f0
commit
978afd7590
1 changed files with 1 additions and 0 deletions
|
@ -1417,6 +1417,7 @@ void CL_Disconnect( qboolean showMainMenu ) {
|
||||||
for (i = 0; i < MAX_CLIENTS; i++) {
|
for (i = 0; i < MAX_CLIENTS; i++) {
|
||||||
opus_decoder_destroy(clc.opusDecoder[i]);
|
opus_decoder_destroy(clc.opusDecoder[i]);
|
||||||
}
|
}
|
||||||
|
clc.voipCodecInitialized = qfalse;
|
||||||
}
|
}
|
||||||
Cmd_RemoveCommand ("voip");
|
Cmd_RemoveCommand ("voip");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue