mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
- fixed typo in portal init code.
This commit is contained in:
parent
2cd74118f6
commit
50d2145ba0
1 changed files with 1 additions and 1 deletions
|
@ -1081,7 +1081,7 @@ void P_CreateLinkedPortals()
|
|||
// set a flag on each line connecting to a plane portal sector. This is used to reduce the amount of checks in P_CheckSight.
|
||||
if (sectors[i].PortalIsLinked(sector_t::floor) || sectors[i].PortalIsLinked(sector_t::ceiling))
|
||||
{
|
||||
for (int j = 0; j < sectors[j].linecount; j++)
|
||||
for (int j = 0; j < sectors[i].linecount; j++)
|
||||
{
|
||||
sectors[i].lines[j]->flags |= ML_PORTALCONNECT;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue