From 241a47602b875a06f17fe20cb855500c126faab2 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 1 Oct 2019 15:24:17 +0200 Subject: [PATCH] - small fix --- src/d_main.cpp | 2 +- src/gamedata/g_mapinfo.cpp | 15 ++------------- 2 files changed, 3 insertions(+), 14 deletions(-) diff --git a/src/d_main.cpp b/src/d_main.cpp index ffbd20bc71..3252011670 100644 --- a/src/d_main.cpp +++ b/src/d_main.cpp @@ -108,7 +108,7 @@ EXTERN_CVAR(Bool, hud_althud) EXTERN_CVAR(Int, vr_mode) void DrawHUD(); void D_DoAnonStats(); -void I_DetectOS; +void I_DetectOS(); // MACROS ------------------------------------------------------------------ diff --git a/src/gamedata/g_mapinfo.cpp b/src/gamedata/g_mapinfo.cpp index f4c0591054..df5a95bb23 100644 --- a/src/gamedata/g_mapinfo.cpp +++ b/src/gamedata/g_mapinfo.cpp @@ -2161,17 +2161,6 @@ void FMapInfoParser::ParseEpisodeInfo () } -//========================================================================== -// -// Clears episode definitions -// -//========================================================================== - -void ClearEpisodes() -{ - AllEpisodes.Clear(); -} - //========================================================================== // // SetLevelNum @@ -2277,7 +2266,7 @@ void FMapInfoParser::ParseMapInfo (int lump, level_info_t &gamedefaults, level_i } else if (sc.Compare("clearepisodes")) { - ClearEpisodes(); + AllEpisodes.Clear(); } else if (sc.Compare("skill")) { @@ -2391,7 +2380,7 @@ static void ClearMapinfo() { wadclusterinfos.Clear(); wadlevelinfos.Clear(); - ClearEpisodes(); + AllEpisodes.Clear(); AllSkills.Clear(); DefaultSkill = -1; DeinitIntermissions();