Skip to content

Commit

Permalink
Don't show players in solo part, even with /showothers
Browse files Browse the repository at this point in the history
  • Loading branch information
def- committed Jan 30, 2014
1 parent 8d87797 commit 2f4820f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/game/server/entities/character.cpp
Expand Up @@ -950,7 +950,7 @@ void CCharacter::Snap(int SnappingClient)
return;

if( SnapPlayer->GetTeam() != TEAM_SPECTATORS && !SnapPlayer->m_Paused && SnapChar && !SnapChar->m_Super
&& !CanCollide(SnappingClient) && !SnapPlayer->m_ShowOthers)
&& !CanCollide(SnappingClient) && (!SnapPlayer->m_ShowOthers || Teams()->m_Core.GetSolo(SnappingClient) || Teams()->m_Core.GetSolo(GetPlayer()->GetCID())))
return;

if (m_Paused)
Expand Down

0 comments on commit 2f4820f

Please sign in to comment.