mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
- 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:
parent
afa193e653
commit
04f327677d
2 changed files with 2 additions and 2 deletions
|
@ -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())
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue