Fix q3plug related crash when issuing a 'sv foo' server command.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6224 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Eukara 2022-04-02 16:22:05 +00:00
parent 078514f2d2
commit 1dfa9e88cb

View file

@ -3041,8 +3041,9 @@ static void SV_SetTimer_f(void)
static void SV_SendGameCommand_f(void)
{
#ifdef Q3SERVER
if (q3->sv.PrefixedConsoleCommand())
return;
if (q3)
if (q3->sv.PrefixedConsoleCommand())
return;
#endif
#ifdef VM_Q1