mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-10 14:42:13 +00:00
Somehow failed to commit some changes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5420 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
6c5de8e8b1
commit
be27f06b76
2 changed files with 4 additions and 4 deletions
|
@ -668,7 +668,7 @@ void CL_SendConnectPacket (netadr_t *to, int mtu,
|
|||
InfoBuf_ToString(&cls.userinfo[0], data+strlen(data), sizeof(data)-strlen(data), prioritykeys, NULL, NULL, &cls.userinfosync, &cls.userinfo[0]);
|
||||
}
|
||||
if (connectinfo.protocol == CP_QUAKEWORLD) //zquake extension info.
|
||||
Q_strncatz(data, va("\\*z_ext\\%i", SUPPORTED_Z_EXTENSIONS), sizeof(data));
|
||||
Q_strncatz(data, va("\\*z_ext\\%i", CLIENT_SUPPORTED_Z_EXTENSIONS), sizeof(data));
|
||||
|
||||
Q_strncatz(data, "\"", sizeof(data));
|
||||
|
||||
|
@ -2241,7 +2241,7 @@ void CL_CheckServerInfo(void)
|
|||
cls.allow_cheats = false;
|
||||
}
|
||||
|
||||
cls.z_ext = atoi(InfoBuf_ValueForKey(&cl.serverinfo, "*z_ext"));
|
||||
cls.z_ext = atoi(InfoBuf_ValueForKey(&cl.serverinfo, "*z_ext")) & CLIENT_SUPPORTED_Z_EXTENSIONS;
|
||||
|
||||
#ifdef NQPROT
|
||||
if (cls.protocol == CP_NETQUAKE && CPNQ_IS_DP)
|
||||
|
|
|
@ -3071,7 +3071,7 @@ client_t *SVC_DirectConnect(void)
|
|||
{ //so switch on the bits that it should be sending.
|
||||
newcl->zquake_extensions |= Z_EXT_PM_TYPE|Z_EXT_PM_TYPE_NEW;
|
||||
}
|
||||
newcl->zquake_extensions &= SUPPORTED_Z_EXTENSIONS;
|
||||
newcl->zquake_extensions &= SERVER_SUPPORTED_Z_EXTENSIONS;
|
||||
|
||||
//ezquake's download mechanism is so smegging buggy.
|
||||
//its causing far far far too many connectivity issues. seriously. its beyond a joke. I cannot stress that enough.
|
||||
|
@ -5310,7 +5310,7 @@ void SV_InitLocal (void)
|
|||
svs.info.ChangeCB = SV_InfoChanged;
|
||||
svs.info.ChangeCTX = &svs.info;
|
||||
InfoBuf_SetValueForStarKey (&svs.info, "*version", version_string());
|
||||
InfoBuf_SetValueForStarKey (&svs.info, "*z_ext", va("%i", SUPPORTED_Z_EXTENSIONS));
|
||||
InfoBuf_SetValueForStarKey (&svs.info, "*z_ext", va("%i", SERVER_SUPPORTED_Z_EXTENSIONS));
|
||||
|
||||
// init fraglog stuff
|
||||
svs.logsequence = 1;
|
||||
|
|
Loading…
Reference in a new issue