Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions game_shared/voice_status_hud.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,8 @@ void CVoiceStatusHud::UpdateSpeakerStatus( int entindex, bool bTalking )
// If we don't have a label for this guy yet, then create one.
if ( !pLabel )
{
if ( pLabel = GetFreeVoiceLabel() )
pLabel = GetFreeVoiceLabel();
if ( pLabel )
{
// Get the name from the engine.
hud_player_info_t info;
Expand Down Expand Up @@ -455,4 +456,4 @@ int CVoiceStatusHud::Draw( float flTime )
m_Labels[i]->Draw();

return 1;
}
}