We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39f6dde commit 9ed3a2dCopy full SHA for 9ed3a2d
src/game/shared/voice_status.cpp
@@ -378,7 +378,7 @@ void CVoiceStatus::UpdateServerState(bool bForce)
378
379
player_info_t pi;
380
381
- if ( !engine->GetPlayerInfo( i+1, &pi ) )
+ if ( !engine->GetPlayerInfo( playerIndex+1, &pi ) )
382
continue;
383
384
if ( m_BanMgr.GetPlayerBan( pi.guid ) )
@@ -588,4 +588,4 @@ void CVoiceStatus::SetHeadLabelMaterial( const char *pszMaterial )
588
589
m_pHeadLabelMaterial = materials->FindMaterial( pszMaterial, TEXTURE_GROUP_VGUI );
590
m_pHeadLabelMaterial->IncrementReferenceCount();
591
-}
+}
0 commit comments