From c4cd9ca1effb1ecd902cd2fcd2be5140271253a3 Mon Sep 17 00:00:00 2001 From: Plagman Date: Fri, 21 Jul 2006 22:06:08 +0000 Subject: [PATCH] git-svn-id: https://svn.eduke32.com/eduke32@231 1a8010ca-5511-0410-912e-c29ae57300e0 --- polymer/build/src/polymost.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/polymer/build/src/polymost.c b/polymer/build/src/polymost.c index 66b314bc1..bf9d606f1 100644 --- a/polymer/build/src/polymost.c +++ b/polymer/build/src/polymost.c @@ -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; }