diff --git a/plugins/basevotes.sp b/plugins/basevotes.sp index a73e9ab6..51401b99 100644 --- a/plugins/basevotes.sp +++ b/plugins/basevotes.sp @@ -131,7 +131,7 @@ public Action:Command_Votemap(client, args) g_voteType = voteType:map; - g_hVoteMenu = CreateMenu(Handler_VoteCallback, MenuAction:MENU_ACTIONS_ALL); + g_hVoteMenu = CreateMenu(Handler_VoteCallback, MENU_ACTIONS_ALL); if (mapCount == 1) { @@ -201,7 +201,7 @@ public Action:Command_Vote(client, args) g_voteType = voteType:question; - g_hVoteMenu = CreateMenu(Handler_VoteCallback, MenuAction:MENU_ACTIONS_ALL); + g_hVoteMenu = CreateMenu(Handler_VoteCallback, MENU_ACTIONS_ALL); SetMenuTitle(g_hVoteMenu, "%s?", g_voteArg); if (answerCount < 2) @@ -269,7 +269,7 @@ public Action:Command_Votekick(client, args) // Temp strcopy(g_votetitle, sizeof(g_votetitle), "Votekick Player"); - g_hVoteMenu = CreateMenu(Handler_VoteCallback, MenuAction:MENU_ACTIONS_ALL); + g_hVoteMenu = CreateMenu(Handler_VoteCallback, MENU_ACTIONS_ALL); SetMenuTitle(g_hVoteMenu, "Votekick Player"); AddMenuItem(g_hVoteMenu, "No", "Yes"); AddMenuItem(g_hVoteMenu, "No", "No"); @@ -327,7 +327,7 @@ public Action:Command_Voteban(client, args) // Temp strcopy(g_votetitle, sizeof(g_votetitle), "Voteban Player"); - g_hVoteMenu = CreateMenu(Handler_VoteCallback, MenuAction:MENU_ACTIONS_ALL); + g_hVoteMenu = CreateMenu(Handler_VoteCallback, MENU_ACTIONS_ALL); SetMenuTitle(g_hVoteMenu, "Voteban Player"); AddMenuItem(g_hVoteMenu, "No", "Yes"); AddMenuItem(g_hVoteMenu, "No", "No"); diff --git a/plugins/include/menus.inc b/plugins/include/menus.inc index 98885a1f..cb67b21e 100644 --- a/plugins/include/menus.inc +++ b/plugins/include/menus.inc @@ -52,7 +52,7 @@ enum MenuAction /** Default menu actions */ #define MENU_ACTIONS_DEFAULT MenuAction_Select|MenuAction_Cancel|MenuAction_End /** All menu actions */ -#define MENU_ACTIONS_ALL -1 +#define MENU_ACTIONS_ALL MenuAction:0xFFFFFFFF #define MENU_NO_PAGINATION 0 /**< Menu should not be paginated (10 items max) */ #define MENU_TIME_FOREVER 0 /**< Menu should be displayed as long as possible */