- small fix

This commit is contained in:
Christoph Oelckers 2019-10-01 15:24:17 +02:00
parent 338ae15a4c
commit 241a47602b
2 changed files with 3 additions and 14 deletions

View file

@ -108,7 +108,7 @@ EXTERN_CVAR(Bool, hud_althud)
EXTERN_CVAR(Int, vr_mode) EXTERN_CVAR(Int, vr_mode)
void DrawHUD(); void DrawHUD();
void D_DoAnonStats(); void D_DoAnonStats();
void I_DetectOS; void I_DetectOS();
// MACROS ------------------------------------------------------------------ // MACROS ------------------------------------------------------------------

View file

@ -2161,17 +2161,6 @@ void FMapInfoParser::ParseEpisodeInfo ()
} }
//==========================================================================
//
// Clears episode definitions
//
//==========================================================================
void ClearEpisodes()
{
AllEpisodes.Clear();
}
//========================================================================== //==========================================================================
// //
// SetLevelNum // SetLevelNum
@ -2277,7 +2266,7 @@ void FMapInfoParser::ParseMapInfo (int lump, level_info_t &gamedefaults, level_i
} }
else if (sc.Compare("clearepisodes")) else if (sc.Compare("clearepisodes"))
{ {
ClearEpisodes(); AllEpisodes.Clear();
} }
else if (sc.Compare("skill")) else if (sc.Compare("skill"))
{ {
@ -2391,7 +2380,7 @@ static void ClearMapinfo()
{ {
wadclusterinfos.Clear(); wadclusterinfos.Clear();
wadlevelinfos.Clear(); wadlevelinfos.Clear();
ClearEpisodes(); AllEpisodes.Clear();
AllSkills.Clear(); AllSkills.Clear();
DefaultSkill = -1; DefaultSkill = -1;
DeinitIntermissions(); DeinitIntermissions();