mirror of
https://git.code.sf.net/p/quake/newtree
synced 2025-02-17 00:52:00 +00:00
if (0) is evil. If you're going to comment it out, comment it out or use
something like #if 0!
This commit is contained in:
parent
9761dc6732
commit
c9d579b1b5
1 changed files with 5 additions and 4 deletions
|
@ -369,10 +369,10 @@ void R_DrawSequentialPoly (msurface_t *s)
|
||||||
//
|
//
|
||||||
// normal lightmaped poly
|
// normal lightmaped poly
|
||||||
//
|
//
|
||||||
// if ((!(s->flags & (SURF_DRAWSKY|SURF_DRAWTURB)))
|
#if 0
|
||||||
// && ((r_viewleaf->contents!=CONTENTS_EMPTY && (s->flags & SURF_UNDERWATER)) ||
|
if ((!(s->flags & (SURF_DRAWSKY|SURF_DRAWTURB)))
|
||||||
// (r_viewleaf->contents==CONTENTS_EMPTY && !(s->flags & SURF_UNDERWATER))))
|
&& ((r_viewleaf->contents!=CONTENTS_EMPTY && (s->flags & SURF_UNDERWATER)) ||
|
||||||
if (0)
|
(r_viewleaf->contents==CONTENTS_EMPTY && !(s->flags & SURF_UNDERWATER))))
|
||||||
{
|
{
|
||||||
p = s->polys;
|
p = s->polys;
|
||||||
|
|
||||||
|
@ -402,6 +402,7 @@ void R_DrawSequentialPoly (msurface_t *s)
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// subdivided water surface warp
|
// subdivided water surface warp
|
||||||
|
|
Loading…
Reference in a new issue