]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_sprite.c
- fix specular stuff on Q1BSP
[xonotic/darkplaces.git] / model_sprite.c
index a08cb8c36cffc9553185f79ce85470b15d27e178..41c70fe32f69634752216ae80f7d7d7e8004ed64 100644 (file)
@@ -47,6 +47,8 @@ static void Mod_SpriteSetupTexture(texture_t *texture, skinframe_t *skinframe, q
 {
        if (!skinframe)
                skinframe = R_SkinFrame_LoadMissing();
+       texture->specularscalemod = 1;
+       texture->specularpowermod = 1;
        texture->basematerialflags = MATERIALFLAG_WALL;
        if (fullbright)
                texture->basematerialflags |= MATERIALFLAG_FULLBRIGHT;