]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
The Nehahra movie was borked. They were making static ents without
authorknghtbrd <knghtbrd@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 9 Jul 2002 18:46:41 +0000 (18:46 +0000)
committerknghtbrd <knghtbrd@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 9 Jul 2002 18:46:41 +0000 (18:46 +0000)
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

index fcc03231cfaa3da4e94804e485e97fdfe4255a35..902c2af148095b6c09b3f553a47b7f2b028794f2 100644 (file)
@@ -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--;
 }
 
 /*