diff options
Diffstat (limited to 'src/cgame/cg_players.c')
-rw-r--r-- | src/cgame/cg_players.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/cgame/cg_players.c b/src/cgame/cg_players.c index dcbe86db..1cebf451 100644 --- a/src/cgame/cg_players.c +++ b/src/cgame/cg_players.c @@ -746,6 +746,13 @@ void CG_NewClientInfo( int clientNum ) // the old value memset( &newInfo, 0, sizeof( newInfo ) ); + + // grab our own ignoreList + if( clientNum == cg.predictedPlayerState.clientNum ) + { + v = Info_ValueForKey( configstring, "ig" ); + BG_ClientListParse( &cgs.ignoreList, v ); + } // isolate the player's name v = Info_ValueForKey( configstring, "n" ); @@ -784,6 +791,10 @@ void CG_NewClientInfo( int clientNum ) *slash = 0; } + // voice + v = Info_ValueForKey( configstring, "v" ); + Q_strncpyz( newInfo.voice, v, sizeof( newInfo.voice ) ); + // replace whatever was there with the new one newInfo.infoValid = qtrue; *ci = newInfo; |