From a0a8d8b12f76c0f33270f403b5688ffc456fcbb3 Mon Sep 17 00:00:00 2001 From: havoc Date: Fri, 9 Sep 2005 12:37:25 +0000 Subject: [PATCH] fix a bug that made the world render colormapped (no effect but a speed loss) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5701 d7cf8633-e32d-0410-b094-e92efae38249 --- cl_parse.c | 1 + 1 file changed, 1 insertion(+) diff --git a/cl_parse.c b/cl_parse.c index 7f07b81d..eba47c48 100644 --- a/cl_parse.c +++ b/cl_parse.c @@ -475,6 +475,7 @@ void CL_ParseServerInfo (void) ent->render.model = cl.worldmodel = cl.model_precache[1]; ent->render.scale = 1; // some of the renderer still relies on scale ent->render.alpha = 1; + ent->render.colormap = -1; // no special coloring ent->render.flags = RENDER_SHADOW | RENDER_LIGHT; Matrix4x4_CreateFromQuakeEntity(&ent->render.matrix, 0, 0, 0, 0, 0, 0, 1); Matrix4x4_Invert_Simple(&ent->render.inversematrix, &ent->render.matrix); -- 2.39.2