Host_Error ("SOLID_BSP without MOVETYPE_PUSH");
model = sv.models[ (int)ent->v.modelindex ];
+ Mod_CheckLoaded(model);
// LordHavoc: fixed SOLID_BSP error message
if (!model || model->type != mod_brush)
VectorSubtract (maxs, mins, size);
// LordHavoc: FIXME!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
- if (hlbsp)
+ if (sv.worldmodel->ishlbsp)
{
if (size[0] < 3)
hull = &model->hulls[0]; // 0x0x0
memset (sv_areanodes, 0, sizeof(sv_areanodes));
sv_numareanodes = 0;
+ Mod_CheckLoaded(sv.worldmodel);
SV_CreateAreaNode (0, sv.worldmodel->normalmins, sv.worldmodel->normalmaxs);
}
}
*/
+/*
+// FIXME: this is broken and I'm not interested in figuring out what is broken about it right now
qboolean SV_TestLine (hull_t *hull, int num, vec3_t p1, vec3_t p2)
{
dclipnode_t *node;
}
}
}
+*/
/*