mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-29 07:22:07 +00:00
Reverted previous commit
This commit is contained in:
parent
2f79f74d2d
commit
7f2d97d7ef
1 changed files with 2 additions and 2 deletions
|
@ -1357,7 +1357,7 @@ void G_FinishTravel ()
|
|||
|
||||
// [ZZ] fire the reopen hook.
|
||||
// if level is loaded from snapshot, and we don't have savegamerestore, this means we returned from a hub.
|
||||
if (level.FromSnapshot && !savegamerestore)
|
||||
if (level.FromSnapshot)
|
||||
{
|
||||
// [Nash] run REOPEN scripts upon map re-entry
|
||||
FBehavior::StaticStartTypedScripts(SCRIPT_Reopen, NULL, false);
|
||||
|
@ -1370,7 +1370,7 @@ void G_FinishTravel ()
|
|||
FBehavior::StaticStartTypedScripts(SCRIPT_Return, pawns[i], true);
|
||||
}
|
||||
}
|
||||
else if (!level.FromSnapshot)
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < pawnsnum; i++)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue