- fixed portal restoration on revisiting level in hub
Added function to FLevelLocals to test if map is being reentered https://forum.zdoom.org/viewtopic.php?t=60455
This commit is contained in:
parent
bd1525eb9d
commit
29d2e77840
3 changed files with 8 additions and 2 deletions
|
|
@ -4127,7 +4127,7 @@ void P_SetupLevel (const char *lumpname, int position)
|
|||
times[16].Clock();
|
||||
if (reloop) P_LoopSidedefs (false);
|
||||
PO_Init (); // Initialize the polyobjs
|
||||
if (!savegamerestore)
|
||||
if (!level.IsReentering())
|
||||
P_FinalizePortals(); // finalize line portals after polyobjects have been initialized. This info is needed for properly flagging them.
|
||||
times[16].Unclock();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue