mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 19:20:38 +00:00
Fix issue rendering TROR when the camera's z coordinate is right on the portal
git-svn-id: https://svn.eduke32.com/eduke32@7858 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6e4951bdb6
commit
751b734795
1 changed files with 2 additions and 2 deletions
|
@ -929,8 +929,8 @@ void yax_drawrooms(void (*SpriteAnimFunc)(int32_t,int32_t,int32_t,int32_t),
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((SECTORFLD(i,stat, cf)&2) ||
|
if ((SECTORFLD(i,stat, cf)&2) ||
|
||||||
(cf==0 && globalposz > sector[i].ceilingz) ||
|
(cf==0 && globalposz >= sector[i].ceilingz) ||
|
||||||
(cf==1 && globalposz < sector[i].floorz))
|
(cf==1 && globalposz <= sector[i].floorz))
|
||||||
{
|
{
|
||||||
havebunch[j>>3] |= (1<<(j&7));
|
havebunch[j>>3] |= (1<<(j&7));
|
||||||
bunches[cf][bnchnum[cf]++] = j;
|
bunches[cf][bnchnum[cf]++] = j;
|
||||||
|
|
Loading…
Reference in a new issue