]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rmain.c
one more correction
[xonotic/darkplaces.git] / gl_rmain.c
index 284a27599c4a6fee01ca3e047899ecee03bbd971..19ae0bd5783fdadebe8b69e873b05e334142f1ef 100644 (file)
@@ -2562,7 +2562,7 @@ static void RSurf_DrawLightmap(const entity_render_t *ent, const texture_t *text
        if (lightmode >= 2)
        {
                // model lighting
-               vec4_t ambientcolor;
+               vec3_t ambientcolor;
                vec3_t diffusecolor;
                vec3_t lightdir;
                VectorCopy(ent->modellight_lightdir, lightdir);