get rid of yet another entity_frame_t on the stack, this is the last one, hopefully...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 12 Feb 2003 00:11:07 +0000 (00:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 12 Feb 2003 00:11:07 +0000 (00:11 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2735 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c

index 8b6c8d2..e5419cb 100644 (file)
@@ -650,10 +650,10 @@ void CL_ParseUpdate (int bits)
        }
 }
 
+static entity_frame_t entityframe;
 void CL_ReadEntityFrame(void)
 {
        entity_t *ent;
-       entity_frame_t entityframe;
        int i;
        EntityFrame_Read(&cl.entitydatabase);
        EntityFrame_FetchFrame(&cl.entitydatabase, EntityFrame_MostRecentlyRecievedFrameNum(&cl.entitydatabase), &entityframe);