[ioquake3] 08/21: Make warmup in Team Deathmatch wait for players to join both teams

Simon McVittie smcv at debian.org
Fri Aug 4 20:39:13 UTC 2017


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

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

commit c05fbe554e89a12ee51f8716c81d9e718dede441
Author: Zack Middleton <zack at cloemail.com>
Date:   Mon Jul 31 15:13:19 2017 -0500

    Make warmup in Team Deathmatch wait for players to join both teams
    
    Reported by Cyrax.
---
 code/game/g_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/code/game/g_main.c b/code/game/g_main.c
index fb32be9..0267de4 100644
--- a/code/game/g_main.c
+++ b/code/game/g_main.c
@@ -1500,7 +1500,7 @@ void CheckTournament( void ) {
 		int		counts[TEAM_NUM_TEAMS];
 		qboolean	notEnough = qfalse;
 
-		if ( g_gametype.integer > GT_TEAM ) {
+		if ( g_gametype.integer >= GT_TEAM ) {
 			counts[TEAM_BLUE] = TeamCount( -1, TEAM_BLUE );
 			counts[TEAM_RED] = TeamCount( -1, TEAM_RED );
 

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



More information about the Pkg-games-commits mailing list