Only interpret splitscreen usercommands if that client actually has splitscreen enabled. (This fixes an incompatability with ktpro)

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2468 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2007-01-30 08:44:34 +00:00
parent 90767354c4
commit fa6fd3c9b0

View file

@ -3236,7 +3236,7 @@ void SV_ExecuteUserCommand (char *s, qboolean fromQC)
Cmd_ExecLevel=1;
if (atoi(Cmd_Argv(0))>0) //now see if it's meant to be from a slave client
if (host_client->controlled && atoi(Cmd_Argv(0))>0) //now see if it's meant to be from a slave client
{
int pnum = atoi(Cmd_Argv(0));
client_t *s;