From: knghtbrd Date: Tue, 9 Jul 2002 18:46:41 +0000 (+0000) Subject: The Nehahra movie was borked. They were making static ents without X-Git-Tag: RELEASE_0_2_0_RC1~438 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=cacf386c075341bef88eab6921aefe79ce66252f;p=xonotic%2Fdarkplaces.git The Nehahra movie was borked. They were making static ents without models. When you try to do this, DarkPlaces has issues! Issues I say! git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2029 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_parse.c b/cl_parse.c index fcc03231..902c2af1 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -883,6 +883,10 @@ void CL_ParseStatic (int large) VectorCopy (ent->state_baseline.origin, ent->render.origin); VectorCopy (ent->state_baseline.angles, ent->render.angles); + + // This is definitely cheating... + if (ent->render.model == NULL) + cl.num_statics--; } /*