Skip to content
This repository has been archived by the owner on Jun 23, 2023. It is now read-only.

Commit

Permalink
- fixed swapped contents of episode/map arrays.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed Jun 11, 2019
1 parent 462b5e0 commit 9f01879
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion prboom2/src/m_cheat.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion prboom2/src/m_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9f01879

Please sign in to comment.