fixed amb18 and various associated menu re-entrancy bugs
This commit is contained in:
@ -948,7 +948,7 @@ void C_ClientCommand(edict_t *pEntity)
|
||||
g_menucmds.SetWatchIter(a);
|
||||
if ((*a).matchCommand(menuid, bit_key) && (*a).getPlugin()->isExecutable((*a).getFunction()))
|
||||
{
|
||||
if (pPlayer->newmenu != -1)
|
||||
if (pPlayer->newmenu != -1 && pPlayer->newmenu == (*a).newmenu)
|
||||
{
|
||||
int menu = pPlayer->newmenu;
|
||||
pPlayer->newmenu = -1;
|
||||
|
Reference in New Issue
Block a user