mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-22 20:21:38 +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
|
||||
//
|
||||
// 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)
|
||||
#if 0
|
||||
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))))
|
||||
{
|
||||
p = s->polys;
|
||||
|
||||
|
@ -402,6 +402,7 @@ void R_DrawSequentialPoly (msurface_t *s)
|
|||
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
//
|
||||
// subdivided water surface warp
|
||||
|
|
Loading…
Reference in a new issue