mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-05-07 13:01:01 +00:00
use MSG_WriteString instead of SZ_Print
This commit is contained in:
parent
ad17c35143
commit
bca9a6eb67
1 changed files with 3 additions and 2 deletions
|
@ -43,8 +43,9 @@ Cvar_Info (cvar_t *var)
|
||||||
MAX_INFO_STRING);
|
MAX_INFO_STRING);
|
||||||
if (cls.state >= ca_connected) {
|
if (cls.state >= ca_connected) {
|
||||||
MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
|
MSG_WriteByte (&cls.netchan.message, clc_stringcmd);
|
||||||
SZ_Print (&cls.netchan.message,
|
MSG_WriteString (&cls.netchan.message,
|
||||||
va ("setinfo \"%s\" \"%s\"\n", var->name, var->string));
|
va ("setinfo \"%s\" \"%s\"\n", var->name,
|
||||||
|
var->string));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue