From 9acba1d79fa65e52fc057fd187e4b1a8c238efe0 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 8 Mar 2008 03:44:55 +0000 Subject: [PATCH] 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 --- cl_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (); -- 2.39.2