pr_exec.c (PR_Profile_f): the profile command can only be run when the server is active.

git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@67 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
sezero 2010-02-20 00:00:40 +00:00
parent 2afebd8dc1
commit ee309ae2fd

View file

@ -227,6 +227,9 @@ void PR_Profile_f (void)
int num; int num;
int i; int i;
if (!sv.active)
return;
num = 0; num = 0;
do do
{ {