Prevent enum shadowing & pin sourcemod for build fixes (#1661)
This commit is contained in:
@@ -42,7 +42,7 @@ void DisplayVoteBanMenu(int client, int target)
|
||||
LogAction(client, target, "\"%L\" initiated a ban vote against \"%L\"", client, target);
|
||||
ShowActivity2(client, "[SM] ", "%t", "Initiated Vote Ban", g_voteInfo[VOTE_NAME]);
|
||||
|
||||
g_voteType = ban;
|
||||
g_voteType = VoteType_Ban;
|
||||
|
||||
g_hVoteMenu = new Menu(Handler_VoteCallback, MENU_ACTIONS_ALL);
|
||||
g_hVoteMenu.SetTitle("Voteban Player");
|
||||
|
||||
@@ -40,7 +40,7 @@ void DisplayVoteKickMenu(int client, int target)
|
||||
LogAction(client, target, "\"%L\" initiated a kick vote against \"%L\"", client, target);
|
||||
ShowActivity(client, "%t", "Initiated Vote Kick", g_voteInfo[VOTE_NAME]);
|
||||
|
||||
g_voteType = kick;
|
||||
g_voteType = VoteType_Kick;
|
||||
|
||||
g_hVoteMenu = new Menu(Handler_VoteCallback, MENU_ACTIONS_ALL);
|
||||
g_hVoteMenu.SetTitle("Votekick Player");
|
||||
|
||||
@@ -51,7 +51,7 @@ void DisplayVoteMapMenu(int client, int mapCount, char[][] maps)
|
||||
LogAction(client, -1, "\"%L\" initiated a map vote for%s.", client, maps_list);
|
||||
ShowActivity2(client, "[SM] ", "%t", "Initiated Vote Map");
|
||||
|
||||
g_voteType = map;
|
||||
g_voteType = VoteType_Map;
|
||||
|
||||
g_hVoteMenu = new Menu(Handler_VoteCallback, MENU_ACTIONS_ALL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user