]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - r_sprites.c
implemented PRYDON_CLIENTCURSOR extension (clientside mouse pointer that feeds back...
[xonotic/darkplaces.git] / r_sprites.c
index 9868ff4887c1498292a605755436c509f6a78ffa..cf6048d464f95cf8cd1d351db977e32aa00ce817 100644 (file)
@@ -98,6 +98,9 @@ void R_DrawSpriteModelCallback(const void *calldata1, int calldata2)
                R_CompleteLightPoint(color, diffusecolor, diffusenormal, ent->origin, true, NULL);
                VectorMA(color, 0.5f, diffusecolor, color);
        }
+       color[0] *= ent->colormod[0];
+       color[1] *= ent->colormod[1];
+       color[2] *= ent->colormod[2];
 
        if (fogenabled)
        {