diff --git a/src/r_plane.c b/src/r_plane.c index e36c34aa4..0ef4c2c05 100644 --- a/src/r_plane.c +++ b/src/r_plane.c @@ -42,9 +42,6 @@ // Quincunx antialiasing of flats! //#define QUINCUNX -// good night sweet prince -#define SHITPLANESPARENCY - //SoM: 3/23/2000: Use Boom visplane hashing. #define MAXVISPLANES 512 @@ -804,11 +801,7 @@ void R_DrawSinglePlane(visplane_t *pl) else // Opaque, but allow transparent flat pixels spanfunc = splatfunc; -#ifdef SHITPLANESPARENCY - if (spanfunc == splatfunc || (pl->extra_colormap && pl->extra_colormap->fog)) -#else if (!pl->extra_colormap || !(pl->extra_colormap->fog & 2)) -#endif light = (pl->lightlevel >> LIGHTSEGSHIFT); else light = LIGHTLEVELS-1; @@ -862,11 +855,7 @@ void R_DrawSinglePlane(visplane_t *pl) else // Opaque, but allow transparent flat pixels spanfunc = splatfunc; -#ifdef SHITPLANESPARENCY - if (spanfunc == splatfunc || (pl->extra_colormap && pl->extra_colormap->fog)) -#else if (!pl->extra_colormap || !(pl->extra_colormap->fog & 2)) -#endif light = (pl->lightlevel >> LIGHTSEGSHIFT); else light = LIGHTLEVELS-1;