git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@3404
d7cf8633-e32d-0410-b094-
e92efae38249
int i;
float bestfrac, bestorg[3], bestnormal[3];
float frac, v[3], normal[3], org2[3];
- void *besthitent;
#ifdef WORKINGLQUAKE
- void *hitent;
+ void *besthitent = NULL, *hitent;
#else
- entity_render_t *hitent;
+ entity_render_t *besthitent = NULL, *hitent;
#endif
bestfrac = 10;
for (i = 0;i < 32;i++)
if (numplanes >= 256)
{
Con_Printf("Mod_Q3BSP_LoadBrushes: failed to build collision brush: too many planes for buffer\n");
- Winding_Free(w);
return NULL;
}