- GL handling of new portal data organization.
This also fixes some oversights with plane and horizon portals which were included in several checks.
This commit is contained in:
parent
9c6e7753d8
commit
1c7b512cc0
11 changed files with 143 additions and 134 deletions
|
|
@ -975,14 +975,14 @@ static void CopyPortal(int sectortag, int plane, unsigned pnum, double alpha, bo
|
|||
{
|
||||
if (lines[j].args[0] == 0)
|
||||
{
|
||||
lines[j].skybox = origin;
|
||||
lines[j].portaltransferred = pnum;
|
||||
}
|
||||
else
|
||||
{
|
||||
FLineIdIterator itr(lines[j].args[0]);
|
||||
while ((s = itr.Next()) >= 0)
|
||||
{
|
||||
lines[s].skybox = origin;
|
||||
lines[s].portaltransferred = pnum;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue