From: havoc Date: Sat, 8 Mar 2008 03:44:55 +0000 (+0000) Subject: increased maxtempentities from 512 to 4096, this affects how many csqc X-Git-Tag: xonotic-v0.1.0preview~2333 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=9acba1d79fa65e52fc057fd187e4b1a8c238efe0;p=xonotic%2Fdarkplaces.git increased maxtempentities from 512 to 4096, this affects how many csqc entities can be renderable at once (need to make this grow instead) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8193 d7cf8633-e32d-0410-b094-e92efae38249 --- diff --git a/cl_main.c b/cl_main.c index 4bd33087..7e25568b 100644 --- a/cl_main.c +++ b/cl_main.c @@ -2216,7 +2216,7 @@ void CL_Init (void) r_refdef.scene.maxentities = MAX_EDICTS + 256 + 512; r_refdef.scene.entities = (entity_render_t **)Mem_Alloc(cls.permanentmempool, sizeof(entity_render_t *) * r_refdef.scene.maxentities); - r_refdef.scene.maxtempentities = 512; + r_refdef.scene.maxtempentities = 4096; // FIXME: make this grow r_refdef.scene.tempentities = (entity_render_t *)Mem_Alloc(cls.permanentmempool, sizeof(entity_render_t) * r_refdef.scene.maxtempentities); CL_InitInput ();