Prevent enum shadowing & pin sourcemod for build fixes (#1661)

This commit is contained in:
Headline
2021-12-10 14:22:04 -08:00
committed by GitHub
parent af3c10b173
commit e786ff54f7
5 changed files with 17 additions and 17 deletions
+1 -1
View File
@@ -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");
+1 -1
View File
@@ -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");
+1 -1
View File
@@ -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);