]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
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 8b6c8d2b824c386291e9dbdaa0128693ce0cfe74..e5419cbbbd59270454ebd1867ead9fcbe5c312e5 100644 (file)
@@ -650,10 +650,10 @@ void CL_ParseUpdate (int bits)
        }
 }
 
        }
 }
 
+static entity_frame_t entityframe;
 void CL_ReadEntityFrame(void)
 {
        entity_t *ent;
 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);
        int i;
        EntityFrame_Read(&cl.entitydatabase);
        EntityFrame_FetchFrame(&cl.entitydatabase, EntityFrame_MostRecentlyRecievedFrameNum(&cl.entitydatabase), &entityframe);