From cacf386c075341bef88eab6921aefe79ce66252f Mon Sep 17 00:00:00 2001 From: knghtbrd Date: Tue, 9 Jul 2002 18:46:41 +0000 Subject: [PATCH] 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 --- cl_parse.c | 4 ++++ 1 file changed, 4 insertions(+) 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--; } /* -- 2.39.2