- moved G_ChangeLevel and other exit functions into FLevelLocals.

This commit is contained in:
Christoph Oelckers 2019-01-29 23:45:14 +01:00
commit 4ad327d7e0
13 changed files with 56 additions and 57 deletions

View file

@ -608,7 +608,7 @@ void FParser::SF_Clock(void)
void FParser::SF_ExitLevel(void)
{
G_ExitLevel(0, false);
Level->ExitLevel(0, false);
}
//==========================================================================
@ -2825,7 +2825,7 @@ void FParser::SF_AmbientSound(void)
void FParser::SF_ExitSecret(void)
{
G_SecretExitLevel(0);
Level->SecretExitLevel(0);
}