mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Don't show players in solo part, even with /showothers
This commit is contained in:
parent
8d877973ee
commit
2f4820f9ae
|
@ -950,7 +950,7 @@ void CCharacter::Snap(int SnappingClient)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if( SnapPlayer->GetTeam() != TEAM_SPECTATORS && !SnapPlayer->m_Paused && SnapChar && !SnapChar->m_Super
|
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;
|
return;
|
||||||
|
|
||||||
if (m_Paused)
|
if (m_Paused)
|
||||||
|
|
Loading…
Reference in a new issue