From: havoc Date: Wed, 12 Feb 2003 00:11:07 +0000 (+0000) Subject: get rid of yet another entity_frame_t on the stack, this is the last one, hopefully... X-Git-Tag: xonotic-v0.1.0preview~6770 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ae200d7042383b4cb57a86a449105106c3bc1ab0;p=xonotic%2Fdarkplaces.git get rid of yet another entity_frame_t on the stack, this is the last one, hopefully the last stack overflow git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2735 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_parse.c b/cl_parse.c index 8b6c8d2b..e5419cbb 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -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);