This is an automated email from the git hooks/post-receive script. smcv pushed a commit to tag 1.51 in repository iortcw.
commit 4b7edd4fac6ced46dace54e0a976fefe4012dfba Author: MAN-AT-ARMS <m4n4t4...@gmail.com> Date: Sat Jun 3 10:59:08 2017 -0400 All: Fix favorite servers player count message Unused in SP --- MP/code/ui/ui_main.c | 2 +- SP/code/ui/ui_main.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MP/code/ui/ui_main.c b/MP/code/ui/ui_main.c index 368c6f5..db53177 100644 --- a/MP/code/ui/ui_main.c +++ b/MP/code/ui/ui_main.c @@ -5422,7 +5422,6 @@ static void UI_BuildServerDisplayList( int force ) { trap_LAN_GetServerInfo(lanSource, i, info, MAX_STRING_CHARS); clients = atoi( Info_ValueForKey( info, "clients" ) ); - uiInfo.serverStatus.numPlayersOnServers += clients; if ( ui_browserShowEmpty.integer == 0 ) { if ( clients == 0 ) { @@ -5538,6 +5537,7 @@ static void UI_BuildServerDisplayList( int force ) { // done with this server if ( ping > 0 ) { trap_LAN_MarkServerVisible(lanSource, i, qfalse); + uiInfo.serverStatus.numPlayersOnServers += clients; numinvisible++; } } diff --git a/SP/code/ui/ui_main.c b/SP/code/ui/ui_main.c index d48c724..d430649 100644 --- a/SP/code/ui/ui_main.c +++ b/SP/code/ui/ui_main.c @@ -5329,7 +5329,6 @@ static void UI_BuildServerDisplayList( int force ) { trap_LAN_GetServerInfo(lanSource, i, info, MAX_STRING_CHARS); clients = atoi( Info_ValueForKey( info, "clients" ) ); - uiInfo.serverStatus.numPlayersOnServers += clients; if ( ui_browserShowEmpty.integer == 0 ) { if ( clients == 0 ) { @@ -5376,6 +5375,7 @@ static void UI_BuildServerDisplayList( int force ) { // done with this server if ( ping > 0 ) { trap_LAN_MarkServerVisible(lanSource, i, qfalse); + uiInfo.serverStatus.numPlayersOnServers += clients; numinvisible++; } } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.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