- made DMenu's static variables regular global variables because that class is going to go completely scripted soon.
This commit is contained in:
parent
1b4c9e13b8
commit
06141338f1
9 changed files with 74 additions and 74 deletions
|
|
@ -666,7 +666,7 @@ void C_DoCommand (const char *cmd, int keynum)
|
|||
// This is only accessible to the special menu item to run CCMDs.
|
||||
DEFINE_ACTION_FUNCTION(DOptionMenuItemCommand, DoCommand)
|
||||
{
|
||||
if (DMenu::CurrentMenu == nullptr) return 0;
|
||||
if (CurrentMenu == nullptr) return 0;
|
||||
PARAM_PROLOGUE;
|
||||
PARAM_STRING(cmd);
|
||||
C_DoCommand(cmd);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue