From: Rudolf Polzer Date: Wed, 13 Jun 2012 10:40:59 +0000 (+0200) Subject: get rid of gotomap/chmap aliasing; rather do that via config (cleaner) X-Git-Tag: xonotic-v0.7.0~312^2~21^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=026ee204ef0b2df693c6b9c658b9742d1e900ef8;p=xonotic%2Fxonotic-data.pk3dir.git get rid of gotomap/chmap aliasing; rather do that via config (cleaner) --- diff --git a/qcsrc/server/command/vote.qc b/qcsrc/server/command/vote.qc index c55eee9ac..aea89933a 100644 --- a/qcsrc/server/command/vote.qc +++ b/qcsrc/server/command/vote.qc @@ -476,15 +476,6 @@ float VoteCommand_checkinlist(string vote_command, string list) if(strstrofs(l, strcat(" ", vote_command, " "), 0) >= 0) return TRUE; - // if gotomap is allowed, chmap is too, and vice versa - if(vote_command == "gotomap") - if(strstrofs(l, " chmap ", 0) >= 0) - return TRUE; - - if(vote_command == "chmap") - if(strstrofs(l, " gotomap ", 0) >= 0) - return TRUE; - return FALSE; }