Added f_qizmoconnect don't know if it works or not.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1996 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
e7e0f052f0
commit
262c21afd1
1 changed files with 12 additions and 0 deletions
|
@ -1428,6 +1428,8 @@ void CL_ParseServerData (void)
|
|||
|
||||
// game directory
|
||||
str = MSG_ReadString ();
|
||||
if (!*str)
|
||||
str = "qw";
|
||||
|
||||
#ifndef CLIENTONLY
|
||||
if (!sv.state)
|
||||
|
@ -2751,6 +2753,16 @@ void CL_UpdateUserinfo (void)
|
|||
Q_strncpyz (player->userinfo, MSG_ReadString(), sizeof(player->userinfo));
|
||||
|
||||
CL_ProcessUserInfo (slot, player);
|
||||
|
||||
|
||||
|
||||
if (slot == cl.playernum[0] && player->name[0])
|
||||
{
|
||||
char *qz;
|
||||
qz = Info_ValueForKey(player->userinfo, "Qizmo");
|
||||
if (*qz)
|
||||
TP_ExecTrigger("f_qizmoconnect");
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue