mirror of
https://github.com/ioquake/ioq3.git
synced 2025-05-30 08:31:14 +00:00
Treat sv_voip cvar as a version number (0 == off, 1 == version 1 protocol).
Don't publish it to server's info string if set to zero.
This commit is contained in:
parent
953e9ec287
commit
1e4fa5a54c
2 changed files with 7 additions and 1 deletions
|
@ -412,7 +412,9 @@ void SVC_Info( netadr_t from ) {
|
|||
Info_SetValueForKey( infostring, "pure", va("%i", sv_pure->integer ) );
|
||||
|
||||
#if USE_VOIP
|
||||
Info_SetValueForKey( infostring, "voip", va("%i", sv_voip->integer ) );
|
||||
if (sv_voip->integer) {
|
||||
Info_SetValueForKey( infostring, "voip", va("%i", sv_voip->integer ) );
|
||||
}
|
||||
#endif
|
||||
|
||||
if( sv_minPing->integer ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue