From 1480804b941ebd2b783aa09dfc333e783ebae3a9 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 10 Oct 2009 10:46:11 +0000 Subject: * Update restricted config strings after a game ends --- src/game/g_local.h | 1 + src/game/g_main.c | 2 ++ src/game/g_team.c | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/game/g_local.h b/src/game/g_local.h index 1ec22e51..b5c643a6 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -993,6 +993,7 @@ gentity_t *Team_GetLocation( gentity_t *ent ); qboolean Team_GetLocationMsg( gentity_t *ent, char *loc, int loclen ); void TeamplayInfoMessage( gentity_t *ent ); void CheckTeamStatus( void ); +void G_UpdateTeamConfigStrings( void ); // // g_session.c diff --git a/src/game/g_main.c b/src/game/g_main.c index 33343b23..5cd140e5 100644 --- a/src/game/g_main.c +++ b/src/game/g_main.c @@ -1545,6 +1545,8 @@ void BeginIntermission( void ) G_ClearVotes( ); + G_UpdateTeamConfigStrings( ); + FindIntermissionPoint( ); // move all clients to the intermission point diff --git a/src/game/g_team.c b/src/game/g_team.c index 6a528b4f..51258089 100644 --- a/src/game/g_team.c +++ b/src/game/g_team.c @@ -108,7 +108,7 @@ static clientList_t G_ClientListForTeam( team_t team ) G_UpdateTeamConfigStrings ================== */ -static void G_UpdateTeamConfigStrings( void ) +void G_UpdateTeamConfigStrings( void ) { clientList_t alienTeam = G_ClientListForTeam( TEAM_ALIENS ); clientList_t humanTeam = G_ClientListForTeam( TEAM_HUMANS ); -- cgit