This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch debian/master
in repository openjk.

commit 4090e096070547f48828e8fb2ced74b05e1563f6
Author: Ensiform <ensif...@gmail.com>
Date:   Thu Dec 7 10:08:21 2017 +1100

    [MP] Fix multiple master (globalservers 0) support
---
 codemp/client/cl_main.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/codemp/client/cl_main.cpp b/codemp/client/cl_main.cpp
index 7d60b23..e540fd2 100644
--- a/codemp/client/cl_main.cpp
+++ b/codemp/client/cl_main.cpp
@@ -3339,12 +3339,12 @@ void CL_GlobalServers_f( void ) {
                return;
        }
 
-       Com_sprintf( command, sizeof(command), "sv_master%d", masterNum + 1 );
+       Com_sprintf( command, sizeof(command), "sv_master%d", masterNum );
        masteraddress = Cvar_VariableString( command );
 
        if ( !*masteraddress )
        {
-               Com_Printf( "CL_GlobalServers_f: Error: No master server 
address given.\n" );
+               Com_Printf( "CL_GlobalServers_f: Error: No master server 
address given for %s.\n", command );
                return;
        }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-games/openjk.git

_______________________________________________
Pkg-games-commits mailing list
Pkg-games-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to