From 5ed0607adf0982d42a084c8ec007c2a3cae41d96 Mon Sep 17 00:00:00 2001 From: Samual Date: Wed, 28 Dec 2011 21:37:36 -0500 Subject: [PATCH] Make voting use it too --- qcsrc/server/command/vote.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index bf636a387..ab047fecf 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -539,7 +539,7 @@ float VoteCommand_parse(entity caller, string vote_command, string vote_list, fl case "kick": case "kickban": // catch all kick/kickban commands { - victim = GetFilteredEntity(argv(startpos + 1)); + victim = GetIndexedEntity(argc, (startpos + 1)); if not(victim) { return FALSE; } // TODO: figure out how kick/kickban/ban commands work and re-write this to fit around them vote_parsed_command = vote_command; -- 2.39.2