Polymost: Fix shading on ART tiles with fullbrights displayed without masking, such as on a whitewall.

git-svn-id: https://svn.eduke32.com/eduke32@5694 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-04-06 03:07:52 +00:00
parent 38553fc0e3
commit 1254ce06d9
1 changed files with 1 additions and 1 deletions

View File

@ -1202,7 +1202,7 @@ void gloadtile_art(int32_t dapic, int32_t dapal, int32_t tintpalnum, int32_t das
pth->ofb = (pthtyp *)Xcalloc(1,sizeof(pthtyp));
pth->flags |= PTH_HASFULLBRIGHT;
gloadtile_art(dapic, dapal, -1, 0, dameth, pth->ofb, 1);
gloadtile_art(dapic, dapal, -1, 0, (dameth & DAMETH_MASKPROPS) == DAMETH_NOMASK ? dameth | DAMETH_MASK : dameth, pth->ofb, 1);
fullbrightloadingpass = 0;
}