git-svn-id: https://svn.eduke32.com/eduke32@231 1a8010ca-5511-0410-912e-c29ae57300e0

This commit is contained in:
Plagman 2006-07-21 22:06:08 +00:00
parent 0021e8eb32
commit c4cd9ca1ef

View file

@ -1589,9 +1589,11 @@ void drawpoly (double *dpx, double *dpy, long n, long method)
if ((pth->flags & 16) && (!fullbrightpass) && (indrawroomsandmasks)) // tile has fullbright colors ?
{
fullbrightpass = 1;
shadeforfullbrightpass = globalshade;
globalshade = 0;
shadeforfullbrightpass = globalshade; // save the current shade
globalshade = -30; // fullbright
bglDisable(GL_FOG); // no fog
drawpoly(dpx, dpy, n, method); // draw them afterwards, then. :)
bglEnable(GL_FOG);
globalshade = shadeforfullbrightpass;
fullbrightpass = 0;
}