X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=gl_rmain.c;h=448d40542463a9b9bae689719ae477776e38aa5a;hp=9ccd05c242dffc3f92ae90fbc058db16840bc887;hb=96a2420761f2d855cd7950fd3c3b56992456c66a;hpb=2274be7533700b0ec8ea78e9583678e4fa8fc130 diff --git a/gl_rmain.c b/gl_rmain.c index 9ccd05c2..448d4054 100644 --- a/gl_rmain.c +++ b/gl_rmain.c @@ -551,7 +551,7 @@ static void R_MarkEntities (void) R_LerpAnimation(ent); R_UpdateEntLights(ent); if ((chase_active.integer || !(ent->flags & RENDER_EXTERIORMODEL)) - && !VIS_CullSphere(ent->origin, ent->model->radius * ent->scale) + && !VIS_CullSphere(ent->origin, (ent->model != NULL ? ent->model->radius : 16) * ent->scale) && !VIS_CullBox(ent->mins, ent->maxs)) { ent->visframe = r_framecount;