fixed amb769 (tag mismatch on MENU_ACTIONS_ALL)
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401295
This commit is contained in:
parent
5db2f8e495
commit
9588414f45
@ -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");
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user