Add missing check for QUAKESTATS being defined in pr_cmds.qc

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@6279 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Eukara 2022-06-27 18:28:43 +00:00
parent 304079e1dc
commit ad03c1f6a6
1 changed files with 2 additions and 0 deletions

View File

@ -1149,8 +1149,10 @@ void PR_LoadGlabalStruct(qboolean muted)
svprogfuncs->AddSharedVar(svprogfuncs, (pint_t *)(pr_global_ptrs)->other-v, 1);
svprogfuncs->AddSharedVar(svprogfuncs, (pint_t *)(pr_global_ptrs)->time-v, 1);
#ifdef QUAKESTATS
//test the global rather than the field - fte internally always has the field.
sv.haveitems2 = !!PR_FindGlobal(svprogfuncs, "items2", 0, NULL);
#endif
SV_ClearQCStats();