mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-25 21:41:30 +00:00
- fixed: The check for one-way portals in the renderer was incomplete.
This commit is contained in:
parent
f9022f3054
commit
ec037bfd1a
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ void GLWall::PutPortal(int ptype)
|
|||
if (!portal)
|
||||
{
|
||||
line_t *otherside = lineportal->lines[0]->mDestination;
|
||||
if (otherside != NULL)
|
||||
if (otherside != NULL && otherside->portalindex < linePortals.Size())
|
||||
{
|
||||
gl_RenderActorsInPortal(linePortalToGL[otherside->portalindex]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue