mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Correct an error with rev 1556 that would cause drawing problems with parallaxed ceilings.
git-svn-id: https://svn.eduke32.com/eduke32@1563 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
923eeb6f06
commit
a5eb3903b2
1 changed files with 3 additions and 1 deletions
|
@ -2835,7 +2835,9 @@ static void polymer_drawwall(int16_t sectnum, int16_t wallnum)
|
|||
memcpy(w->mask.material.diffusemodulation, oldcolor, sizeof(GLubyte) * 4);
|
||||
}
|
||||
|
||||
if (!searchit && ((wall[wallnum].nextsector < 0) || parallaxedceiling))
|
||||
if (!searchit && (sector[sectnum].ceilingstat & 1) &&
|
||||
((wall[wallnum].nextsector < 0) ||
|
||||
!(sector[wall[wallnum].nextsector].ceilingstat & 1)))
|
||||
{
|
||||
bglColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE);
|
||||
|
||||
|
|
Loading…
Reference in a new issue