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
1 changed files with 3 additions and 0 deletions

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
{ {