From 6dab44a4a2dc52692d90438b14aef70a9ed96930 Mon Sep 17 00:00:00 2001 From: divverent Date: Mon, 29 Dec 2008 09:32:47 +0000 Subject: [PATCH] for null models, respect the mins/maxs set by QC for culling git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8612 d7cf8633-e32d-0410-b094-e92efae38249 --- sv_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sv_main.c b/sv_main.c index 22237bba..4e541af0 100644 --- a/sv_main.c +++ b/sv_main.c @@ -1150,7 +1150,7 @@ static qboolean SV_PrepareEntityForSending (prvm_edict_t *ent, entity_state_t *c // calculate the visible box of this entity (don't use the physics box // as that is often smaller than a model, and would not count // specialvisibilityradius) - if ((model = sv.models[modelindex])) + if ((model = sv.models[modelindex]) && (model->type != mod_null)) { float scale = cs->scale * (1.0f / 16.0f); if (cs->angles[0] || cs->angles[2]) // pitch and roll -- 2.39.2