cliptrace.fraction = 1;
cliptrace.realfraction = 1;
- Mod_CheckLoaded(cl.worldmodel);
if (cl.worldmodel && cl.worldmodel->TraceBox)
cl.worldmodel->TraceBox(cl.worldmodel, 0, &cliptrace, startmins, startmaxs, endmins, endmaxs, hitsupercontentsmask);
if (hitent)
*hitent = 0;
- Mod_CheckLoaded(cl.worldmodel);
if (cl.worldmodel && cl.worldmodel->TraceBox)
cl.worldmodel->TraceBox(cl.worldmodel, 0, &trace, start, start, end, end, SUPERCONTENTS_SOLID);
continue;
if (!ent->model || !ent->model->TraceBox)
continue;
+ if ((ent->flags & RENDER_EXTERIORMODEL) && !chase_active.integer)
+ continue;
// if transparent and not selectable, skip entity
if (!(cl_entities[n].state_current.effects & EF_SELECTABLE) && (ent->alpha < 1 || (ent->effects & (EF_ADDITIVE | EF_NODEPTHTEST))))
continue;