Take care of fullscreen tinting not being stuck on the least-intense value.

git-svn-id: https://svn.eduke32.com/eduke32@2647 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
helixhorned 2012-05-07 21:02:14 +00:00
parent 144897d524
commit f576bcb01e
1 changed files with 1 additions and 1 deletions

View File

@ -2709,7 +2709,7 @@ void G_DisplayRest(int32_t smoothratio)
if ((pp->pals.f > 0 && pp->loogcnt == 0) /*|| (lastpalsf>0 && pp->pals.f==0)*/) // JBF 20040101: pals.f > 0 now >= 0
{
Bmemcpy(&tempFade, &pp->pals, sizeof(palette_t));
g_restorePalette = 1; // JBF 20040101
g_restorePalette = -1; // JBF 20040101; PK: reset tinting (-1)
applyTint = 1;
}
// lastpalsf = pp->pals.f;