Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- fixed incomplete special menu handling
Redirections to textual main menu and new player menu were not functional

https://forum.zdoom.org/viewtopic.php?t=69369
  • Loading branch information
alexey-lysiuk committed Jul 22, 2020
1 parent afa193e commit 04f3276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/menu/doommenu.cpp
Expand Up @@ -83,7 +83,7 @@ extern bool hud_toggled;
FNewGameStartup NewGameStartupInfo;


bool M_SetSpecialMenu(FName menu, int param)
bool M_SetSpecialMenu(FName& menu, int param)
{
// some menus need some special treatment
switch (menu.GetIndex())
Expand Down
2 changes: 1 addition & 1 deletion src/menu/menu.cpp
Expand Up @@ -416,7 +416,7 @@ DEFINE_ACTION_FUNCTION(DMenu, ActivateMenu)
//
//=============================================================================

bool M_SetSpecialMenu(FName menu, int param); // game specific checks
bool M_SetSpecialMenu(FName& menu, int param); // game specific checks

void M_SetMenu(FName menu, int param)
{
Expand Down

0 comments on commit 04f3276

Please sign in to comment.