mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-12 11:10:39 +00:00
cmenu console command now opens the menu if it isn't already open
git-svn-id: https://svn.eduke32.com/eduke32@7269 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
d2f16606c5
commit
2be7afd33c
1 changed files with 3 additions and 0 deletions
|
@ -732,6 +732,9 @@ static int osdcmd_cmenu(osdcmdptr_t parm)
|
|||
return OSDCMD_OK;
|
||||
}
|
||||
|
||||
if ((g_player[myconnectindex].ps->gm & MODE_MENU) != MODE_MENU)
|
||||
Menu_Open(myconnectindex);
|
||||
|
||||
Menu_Change(Batol(parm->parms[0]));
|
||||
|
||||
return OSDCMD_OK;
|
||||
|
|
Loading…
Reference in a new issue