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:
Bill Currie 2002-08-29 17:32:16 +00:00
parent 92f3e230af
commit d8c1c735a6
2 changed files with 1 additions and 7 deletions

View file

@ -53,7 +53,7 @@ typedef struct
} pmtrace_t;
#define MAX_PHYSENTS 32
#define MAX_PHYSENTS (32 + MAX_PACKET_ENTITIES)
typedef struct
{
vec3_t origin;

View file

@ -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++;
}
}
}
/*