mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-13 07:47:45 +00:00
an old new feature which had been on the wrong comp for a while.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3096 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
6e3f69f504
commit
45692d1d1e
1 changed files with 5 additions and 0 deletions
|
@ -75,6 +75,7 @@ cvar_t cl_predict_players2 = SCVAR("cl_predict_players2", "1");
|
||||||
cvar_t cl_solid_players = SCVAR("cl_solid_players", "1");
|
cvar_t cl_solid_players = SCVAR("cl_solid_players", "1");
|
||||||
cvar_t cl_noblink = SCVAR("cl_noblink", "0");
|
cvar_t cl_noblink = SCVAR("cl_noblink", "0");
|
||||||
cvar_t cl_servername = SCVAR("cl_servername", "none");
|
cvar_t cl_servername = SCVAR("cl_servername", "none");
|
||||||
|
cvar_t cl_serveraddress = SCVAR("cl_serveraddress", "none");
|
||||||
cvar_t qtvcl_forceversion1 = SCVAR("qtvcl_forceversion1", "0");
|
cvar_t qtvcl_forceversion1 = SCVAR("qtvcl_forceversion1", "0");
|
||||||
cvar_t qtvcl_eztvextensions = SCVAR("qtvcl_eztvextensions", "0");
|
cvar_t qtvcl_eztvextensions = SCVAR("qtvcl_eztvextensions", "0");
|
||||||
|
|
||||||
|
@ -449,6 +450,9 @@ void CL_SendConnectPacket (
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
NET_AdrToString(data, sizeof(data), adr);
|
||||||
|
Cvar_ForceSet(&cl_serveraddress, data);
|
||||||
|
|
||||||
if (!NET_IsClientLegal(&adr))
|
if (!NET_IsClientLegal(&adr))
|
||||||
{
|
{
|
||||||
Con_TPrintf (TLC_ILLEGALSERVERADDRESS);
|
Con_TPrintf (TLC_ILLEGALSERVERADDRESS);
|
||||||
|
@ -2821,6 +2825,7 @@ void CL_Init (void)
|
||||||
Cvar_Register (&cfg_save_name, cl_controlgroup);
|
Cvar_Register (&cfg_save_name, cl_controlgroup);
|
||||||
|
|
||||||
Cvar_Register (&cl_servername, cl_controlgroup);
|
Cvar_Register (&cl_servername, cl_controlgroup);
|
||||||
|
Cvar_Register (&cl_serveraddress, cl_controlgroup);
|
||||||
Cvar_Register (&cl_demospeed, "Demo playback");
|
Cvar_Register (&cl_demospeed, "Demo playback");
|
||||||
Cvar_Register (&cl_warncmd, "Warnings");
|
Cvar_Register (&cl_warncmd, "Warnings");
|
||||||
Cvar_Register (&cl_upspeed, cl_inputgroup);
|
Cvar_Register (&cl_upspeed, cl_inputgroup);
|
||||||
|
|
Loading…
Reference in a new issue