From ae200d7042383b4cb57a86a449105106c3bc1ab0 Mon Sep 17 00:00:00 2001 From: havoc Date: Wed, 12 Feb 2003 00:11:07 +0000 Subject: [PATCH] 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 --- cl_parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2