Fixed r_wateralpha...

This commit is contained in:
Joseph Carter 2000-01-22 03:41:35 +00:00
parent e4056d6d24
commit 1cc41775a7
2 changed files with 7 additions and 0 deletions

4
NEWS
View file

@ -6,6 +6,10 @@ NEWS for the QuakeForge project
the fog density rather than a simple toggle control. Eric Windisch
recommends setting r_fog to .0005 if you're going to use it.
19 Jan 2000 - removed cvar r_mirroralpha
This was a cheap hack which affected one texture on one map of the
entire game. It also wasn't working right, so it's been removed.
19 Jan 2000 - time cheats revisited
The final word in detecting time/speed cheating is here at long
last! Still catches an occasional person who is "not cheating", but

View file

@ -1050,6 +1050,9 @@ void DrawTextureChains (void)
R_DrawSkyChain (s);
else
{
if ((s->flags & SURF_DRAWTURB) &&
r_wateralpha.value != 1.0)
continue; // draw translucent water later
for ( ; s ; s=s->texturechain)
R_RenderBrushPoly (s);
}