mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-15 00:41:55 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@231 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
0021e8eb32
commit
c4cd9ca1ef
1 changed files with 4 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue