shut
This commit is contained in:
parent
6bdcd0f608
commit
2c5c65062c
1 changed files with 2 additions and 6 deletions
|
|
@ -1924,12 +1924,8 @@ void M_EnterMenu(menutype_t menunum, boolean callexit, INT32 arg)
|
|||
}
|
||||
|
||||
if (menustack[0] == MN_NONE)
|
||||
{
|
||||
// whoops, M_ClearMenus got called, our stack is gone!
|
||||
// no big deal, just put our menunum back...
|
||||
CONS_Alert(CONS_WARNING, "Enter routine cleared the menu stack!\n");
|
||||
menustack[0] = menunum;
|
||||
}
|
||||
menustack[0] = menunum; // M_ClearMenus got called, put it back on the stack
|
||||
|
||||
M_SetupNextMenu(menunum, callexit);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue