mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-29 15:22:08 +00:00
- removed the option to toggle portals with SetLineSpecial.
This is to keep some people from jumping the gun on this and preventing the implementation of a proper toggling mechanism. The feature itself will come back, but differently. - removed portal setup from Build maps they don't define it anyway so it makes no sense to have it there. Once this code gets refactored this will be in a different place that's identical for all map types.
This commit is contained in:
parent
6639984772
commit
01b075660d
2 changed files with 0 additions and 8 deletions
|
@ -8299,9 +8299,6 @@ scriptwait:
|
|||
line->args[4] = STACK(1);
|
||||
DPrintf("Set special on line %d (id %d) to %d(%d,%d,%d,%d,%d)\n",
|
||||
linenum, STACK(7), specnum, arg0, STACK(4), STACK(3), STACK(2), STACK(1));
|
||||
|
||||
// [ZZ] re-link with portals (in case this was something related to portal specials)
|
||||
P_CheckPortal(line);
|
||||
}
|
||||
sp -= 7;
|
||||
}
|
||||
|
|
|
@ -630,11 +630,6 @@ static void LoadWalls (walltype *walls, int numwalls, sectortype *bsec)
|
|||
}
|
||||
}
|
||||
|
||||
// [ZZ] set initial line portal link
|
||||
// (even though this is rather hard to happen... build doesn't have portals in our sense and it's walls don't get translated into anything like this)
|
||||
for (int i = 0; i < numlines; i++)
|
||||
P_CheckPortal(&lines[i]);
|
||||
|
||||
// Finish setting sector properties that depend on walls
|
||||
for (i = 0; i < numsectors; ++i, ++bsec)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue