Don't overwrite hictinting[MAXPALOOKUPS-1].f when resetting the fullscreen tint hack. This fixes a bug where detail maps lighten models.

git-svn-id: https://svn.eduke32.com/eduke32@1557 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
plagman 2009-12-08 05:57:31 +00:00
parent 9f62cf5cb4
commit 4bd5f5de87
1 changed files with 3 additions and 1 deletions

View File

@ -3964,7 +3964,9 @@ void G_DisplayRest(int32_t smoothratio)
}
else
{
*(uint32_t *)&hictinting[MAXPALOOKUPS-1].r = 0xFFFFFFFF;
hictinting[MAXPALOOKUPS-1].r = 255;
hictinting[MAXPALOOKUPS-1].g = 255;
hictinting[MAXPALOOKUPS-1].b = 255;
}
}
#endif /* USE_OPENGL && POLYMOST */