]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
fix a bug that made the world render colormapped (no effect but a speed loss)
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Sep 2005 12:37:25 +0000 (12:37 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Sep 2005 12:37:25 +0000 (12:37 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5701 d7cf8633-e32d-0410-b094-e92efae38249

cl_parse.c

index 7f07b81da18373d6b72014e43ca82518f7bab90c..eba47c4857197cd5414e8f62f1fceb61584a7c96 100644 (file)
@@ -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);