From 9f0187967c2f3876a7f5ef1ac5a5715ee124a475 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 11 Jun 2019 20:11:22 +0200 Subject: [PATCH] - fixed swapped contents of episode/map arrays. --- prboom2/src/m_cheat.c | 2 +- prboom2/src/m_menu.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/prboom2/src/m_cheat.c b/prboom2/src/m_cheat.c index 8963faad0..534d77961 100644 --- a/prboom2/src/m_cheat.c +++ b/prboom2/src/m_cheat.c @@ -366,7 +366,7 @@ static void cheat_clev(char buf[3]) map = buf[1] - '0'; } - // Check if we have a mapinfo entry for the requested level. If this is present the remaining checks should be skipped. + // First check if we have a mapinfo entry for the requested level. If this is present the remaining checks should be skipped. struct MapEntry* entry = G_LookupMapinfo(epsd, map); if (!entry) { diff --git a/prboom2/src/m_menu.c b/prboom2/src/m_menu.c index 77b466761..bb3bd8eda 100644 --- a/prboom2/src/m_menu.c +++ b/prboom2/src/m_menu.c @@ -558,7 +558,7 @@ menu_t EpiDef = // This is for customized episode menus int EpiCustom; -short EpiMenuEpi[8] = { 1, 1, 1, 1, -1, -1, -1, -1 }, EpiMenuMap[8] = { 1,2,3,4,-1,-1,-1,-1 }; +short EpiMenuMap[8] = { 1, 1, 1, 1, -1, -1, -1, -1 }, EpiMenuEpi[8] = { 1,2,3,4,-1,-1,-1,-1 }; // // M_Episode