- 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
This commit is contained in:
alexey.lysiuk 2020-07-22 16:26:27 +03:00
parent afa193e653
commit 04f327677d
2 changed files with 2 additions and 2 deletions

View File

@ -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())

View File

@ -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)
{