From 18fc0fb5f523710d376a9bdf48a10428e80ce1a9 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Sat, 17 Sep 2005 14:20:22 +0000 Subject: [PATCH] fix crash when starting a TA CTF game with shared libs (#2367) --- code/game/g_team.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/game/g_team.c b/code/game/g_team.c index fbdf586f..877ac2a4 100644 --- a/code/game/g_team.c +++ b/code/game/g_team.c @@ -47,8 +47,9 @@ void Team_InitGame( void ) { switch( g_gametype.integer ) { case GT_CTF: - teamgame.redStatus = teamgame.blueStatus = -1; // Invalid to force update + teamgame.redStatus = -1; // Invalid to force update Team_SetFlagStatus( TEAM_RED, FLAG_ATBASE ); + teamgame.blueStatus = -1; // Invalid to force update Team_SetFlagStatus( TEAM_BLUE, FLAG_ATBASE ); break; #ifdef MISSIONPACK