Fixed handling of default values for Menu.SetMenu() and Menu.StartMessage() arguments

This commit is contained in:
alexey.lysiuk 2017-02-24 11:09:25 +02:00
parent 202c192e11
commit fd615713d5
2 changed files with 2 additions and 2 deletions

View file

@ -496,7 +496,7 @@ DEFINE_ACTION_FUNCTION(DMenu, SetMenu)
{ {
PARAM_PROLOGUE; PARAM_PROLOGUE;
PARAM_NAME(menu); PARAM_NAME(menu);
PARAM_INT(mparam); PARAM_INT_DEF(mparam);
M_SetMenu(menu, mparam); M_SetMenu(menu, mparam);
return 0; return 0;
} }

View file

@ -267,7 +267,7 @@ DEFINE_ACTION_FUNCTION(DMenu, StartMessage)
{ {
PARAM_PROLOGUE; PARAM_PROLOGUE;
PARAM_STRING(msg); PARAM_STRING(msg);
PARAM_INT(mode); PARAM_INT_DEF(mode);
PARAM_NAME_DEF(action); PARAM_NAME_DEF(action);
M_StartMessage(msg, mode, action); M_StartMessage(msg, mode, action);
return 0; return 0;