mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
Fix: Don't show draggers of players in solo part
This commit is contained in:
parent
180ccb768d
commit
6131dfb7e3
|
@ -343,6 +343,12 @@ void CDragger::Snap(int SnappingClient)
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (Char && Char->IsAlive() && Target && Target->GetPlayer()->GetCID() != SnappingClient && !Char->GetPlayer()->m_ShowOthers &&
|
||||||
|
(Char->Teams()->m_Core.GetSolo(SnappingClient) || Char->Teams()->m_Core.GetSolo(Target->GetPlayer()->GetCID())))
|
||||||
|
{
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
CNetObj_Laser *obj;
|
CNetObj_Laser *obj;
|
||||||
|
|
||||||
if (i == -1)
|
if (i == -1)
|
||||||
|
|
Loading…
Reference in a new issue