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:
Joseph Carter 2000-05-26 03:40:22 +00:00
parent 9761dc6732
commit c9d579b1b5

View file

@ -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