]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
one more correction
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Mar 2006 05:20:17 +0000 (05:20 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 18 Mar 2006 05:20:17 +0000 (05:20 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6135 d7cf8633-e32d-0410-b094-e92efae38249

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);