mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-17 22:50:51 +00:00
up MAX_PHYSENTS from 32 to (32 + MAX_PACKET_ENTITIES) (ie, 96). While this
will potentially slow down both client and server, player collision physics will be more accurate as more entities will be clipped against (and the client should never complain about physent overflow again).
This commit is contained in:
parent
92f3e230af
commit
d8c1c735a6
2 changed files with 1 additions and 7 deletions
|
@ -53,7 +53,7 @@ typedef struct
|
|||
} pmtrace_t;
|
||||
|
||||
|
||||
#define MAX_PHYSENTS 32
|
||||
#define MAX_PHYSENTS (32 + MAX_PACKET_ENTITIES)
|
||||
typedef struct
|
||||
{
|
||||
vec3_t origin;
|
||||
|
|
|
@ -911,11 +911,6 @@ CL_SetSolidEntities (void)
|
|||
continue;
|
||||
if (!cl.model_precache[state->modelindex])
|
||||
continue;
|
||||
if (pmove.numphysent == MAX_PHYSENTS) {
|
||||
Con_Printf ("WARNING: entity physent overflow, email "
|
||||
"quakeforge-devel@lists.sourceforge.net\n");
|
||||
break;
|
||||
}
|
||||
if (cl.model_precache[state->modelindex]->hulls[1].firstclipnode
|
||||
|| cl.model_precache[state->modelindex]->clipbox) {
|
||||
if (pmove.numphysent == MAX_PHYSENTS) {
|
||||
|
@ -930,7 +925,6 @@ CL_SetSolidEntities (void)
|
|||
pmove.numphysent++;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue