Maybe this will fix something.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@678 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
ef5c6a1d6c
commit
0df2f91f9f
|
@ -6500,7 +6500,11 @@ void PF_clientcommand (progfuncs_t *prinst, struct globalvars_s *pr_globals)
|
||||||
temp_client = host_client;
|
temp_client = host_client;
|
||||||
host_client = &svs.clients[i];
|
host_client = &svs.clients[i];
|
||||||
if (host_client->state == cs_connected || host_client->state == cs_spawned)
|
if (host_client->state == cs_connected || host_client->state == cs_spawned)
|
||||||
SV_ExecuteUserCommand (PF_VarString(prinst, OFS_PARM1, pr_globals), true);
|
{
|
||||||
|
SV_ExecuteUserCommand (PF_VarString(prinst, 1, pr_globals), true);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
Con_Printf("PF_clientcommand: client is not active\n");
|
||||||
host_client = temp_client;
|
host_client = temp_client;
|
||||||
if (host_client)
|
if (host_client)
|
||||||
sv_player = host_client->edict;
|
sv_player = host_client->edict;
|
||||||
|
|
Loading…
Reference in New Issue