1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2006-02-22 23:35:04 +00:00
parent e7e0f052f0
commit 262c21afd1

View file

@ -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");
}
}
/*