Fix for when using NQ clients (no more crash)
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1592 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
ebcaac9a08
commit
167f762a51
1 changed files with 2 additions and 1 deletions
|
@ -3021,7 +3021,8 @@ void SV_ExecuteUserCommand (char *s, qboolean fromQC)
|
|||
return;
|
||||
}
|
||||
SV_BeginRedirect (RD_CLIENT, host_client->language);
|
||||
u->func ();
|
||||
if (u->func)
|
||||
u->func ();
|
||||
host_client = oldhost;
|
||||
SV_EndRedirect ();
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue