trace->hitsupercontentsmask = hitsupercontentsmask;
bih = &model->collision_bih;
+ if(!bih->nodes)
+ return;
+
nodenum = bih->rootnode;
nodestack[nodestackpos++] = nodenum;
while (nodestackpos)
vec_t d1, d2, d3, d4, f, nodestackline[1024][6];
int axis, nodenum, nodestackpos = 0, nodestack[1024];
+ if(!bih->nodes)
+ return;
+
if (VectorCompare(start, end))
{
Mod_CollisionBIH_TracePoint(model, frameblend, skeleton, trace, start, hitsupercontentsmask);
}
bih = &model->collision_bih;
+ if(!bih->nodes)
+ return;
nodenum = bih->rootnode;
// box trace, performed as brush trace