diff --git a/src/menu/menu.cpp b/src/menu/menu.cpp index e4920ef55..71c0ff645 100644 --- a/src/menu/menu.cpp +++ b/src/menu/menu.cpp @@ -496,7 +496,7 @@ DEFINE_ACTION_FUNCTION(DMenu, SetMenu) { PARAM_PROLOGUE; PARAM_NAME(menu); - PARAM_INT(mparam); + PARAM_INT_DEF(mparam); M_SetMenu(menu, mparam); return 0; } diff --git a/src/menu/messagebox.cpp b/src/menu/messagebox.cpp index b3b0e1fe7..a1a0fda76 100644 --- a/src/menu/messagebox.cpp +++ b/src/menu/messagebox.cpp @@ -267,7 +267,7 @@ DEFINE_ACTION_FUNCTION(DMenu, StartMessage) { PARAM_PROLOGUE; PARAM_STRING(msg); - PARAM_INT(mode); + PARAM_INT_DEF(mode); PARAM_NAME_DEF(action); M_StartMessage(msg, mode, action); return 0;