]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
get rid of gotomap/chmap aliasing; rather do that via config (cleaner)
authorRudolf Polzer <divverent@alientrap.org>
Wed, 13 Jun 2012 10:40:59 +0000 (12:40 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 13 Jun 2012 10:40:59 +0000 (12:40 +0200)
qcsrc/server/command/vote.qc

index c55eee9acc9187327f1b921c6fece0dfa3b5113a..aea89933a4adee4ec242680739ef845dbf39e59e 100644 (file)
@@ -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;
 }