Disable the "shouldn't happen" code.

It causes the tests to fail, and doesn't affect the problem I'm currently
facing.
This commit is contained in:
Bill Currie 2011-09-26 19:19:11 +09:00
parent baf9b7c181
commit ae0dc6f06b

View file

@ -123,7 +123,7 @@ qboolean SV_RecursiveHullCheck (hull_t *hull, int num, float p1f, float p2f, con
VectorSubtract (vec3_origin, plane->normal, trace->plane.normal);
trace->plane.dist = -plane->dist;
}
#if 0
while (SV_HullPointContents (hull, hull->firstclipnode, mid)
== CONTENTS_SOLID)
{ // shouldn't really happen, but does occasionally
@ -139,7 +139,7 @@ qboolean SV_RecursiveHullCheck (hull_t *hull, int num, float p1f, float p2f, con
for (i=0 ; i<3 ; i++)
mid[i] = p1[i] + frac*(p2[i] - p1[i]);
}
#endif
trace->fraction = midf;
VectorCopy (mid, trace->endpos);