fix some bugs.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5209 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
7da299ee88
commit
f1f54311f6
7 changed files with 133 additions and 71 deletions
|
@ -7213,6 +7213,7 @@ const char *SV_CheckRejectConnection(netadr_t *adr, const char *uinfo, unsigned
|
|||
}
|
||||
return ret;
|
||||
}
|
||||
#ifndef SERVERONLY
|
||||
void SV_AddDebugPolygons(void)
|
||||
{
|
||||
int i;
|
||||
|
@ -7227,11 +7228,14 @@ void SV_AddDebugPolygons(void)
|
|||
if (svs.clients[i].netchan.remote_address.type == NA_LOOPBACK)
|
||||
pr_global_struct->self = EDICT_TO_PROG(svprogfuncs, svs.clients[i].edict);
|
||||
PR_ExecuteProgram (svprogfuncs, gfuncs.AddDebugPolygons);
|
||||
if (R2D_Flush)
|
||||
R2D_Flush();
|
||||
#ifdef PROGS_DAT
|
||||
csqc_dp_lastwas3d = false;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HEXEN2
|
||||
static void QCBUILTIN PF_h2AdvanceFrame(pubprogfuncs_t *prinst, struct globalvars_s *pr_globals)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue