From: Samual Date: Thu, 29 Dec 2011 02:37:36 +0000 (-0500) Subject: Make voting use it too X-Git-Tag: xonotic-v0.6.0~188^2~28^2~34 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5ed0607adf0982d42a084c8ec007c2a3cae41d96;p=xonotic%2Fxonotic-data.pk3dir.git Make voting use it too --- 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;