diff options
author | Tim Angus <tim@ngus.net> | 2009-10-10 10:46:11 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:16:45 +0000 |
commit | 1480804b941ebd2b783aa09dfc333e783ebae3a9 (patch) | |
tree | 454587a3cfa38ff00a6b45826e820c4c10ab93bc /src/game | |
parent | 902ab6c0138eb3b93b3f3cbae1c6af7d0935c038 (diff) |
* Update restricted config strings after a game ends
Diffstat (limited to 'src/game')
-rw-r--r-- | src/game/g_local.h | 1 | ||||
-rw-r--r-- | src/game/g_main.c | 2 | ||||
-rw-r--r-- | src/game/g_team.c | 2 |
3 files changed, 4 insertions, 1 deletions
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 ); |