FTE isn't mvdsv. But just in case someone thinks it is...
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3302 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
4306bbff7c
commit
ba368d0210
1 changed files with 7 additions and 1 deletions
|
@ -1631,7 +1631,7 @@ client_t *SVC_DirectConnect(void)
|
|||
Q_strncpyz (userinfo[0], Cmd_Argv(1), sizeof(userinfo[0])-1);
|
||||
|
||||
switch (atoi(Info_ValueForKey(userinfo[0], "protocol")))
|
||||
{
|
||||
{
|
||||
case 68: //regular q3 1.32
|
||||
break;
|
||||
// case 43: //q3 1.11 (most 'recent' demo)
|
||||
|
@ -1737,6 +1737,12 @@ client_t *SVC_DirectConnect(void)
|
|||
Q_strncpyz (userinfo[i], Cmd_Argv(4+i), sizeof(userinfo[i])-1);
|
||||
}
|
||||
|
||||
for (i = 0; i < numssclients; i++)
|
||||
{
|
||||
//don't let users exploit mods made for mvdsv instead of FTE
|
||||
Info_RemoveKey (userinfo[i], "*VIP");
|
||||
}
|
||||
|
||||
if (protocol == SCP_QUAKEWORLD) //readd?
|
||||
{
|
||||
if (!sv_listen_qw.value && net_from.type != NA_LOOPBACK)
|
||||
|
|
Loading…
Reference in a new issue