1
0
Fork 0
forked from fte/fteqw

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:
Spoike 2005-11-26 21:14:47 +00:00
parent ebcaac9a08
commit 167f762a51

View file

@ -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;