mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-10 14:52:00 +00:00
Also send empty valued system cvars, fix proposed by DevHC
This commit is contained in:
parent
2e2e54e3c5
commit
3639108763
1 changed files with 2 additions and 1 deletions
|
@ -1310,6 +1310,7 @@ void Info_SetValueForKey( char *s, const char *key, const char *value ) {
|
|||
Info_SetValueForKey_Big
|
||||
|
||||
Changes or adds a key/value pair
|
||||
Includes and retains zero-length values
|
||||
==================
|
||||
*/
|
||||
void Info_SetValueForKey_Big( char *s, const char *key, const char *value ) {
|
||||
|
@ -1330,7 +1331,7 @@ void Info_SetValueForKey_Big( char *s, const char *key, const char *value ) {
|
|||
}
|
||||
|
||||
Info_RemoveKey_Big (s, key);
|
||||
if (!value || !strlen(value))
|
||||
if (!value)
|
||||
return;
|
||||
|
||||
Com_sprintf (newi, sizeof(newi), "\\%s\\%s", key, value);
|
||||
|
|
Loading…
Reference in a new issue