Fix: Don't show draggers of players in solo part

This commit is contained in:
def 2014-06-15 20:51:30 +02:00
parent 180ccb768d
commit 6131dfb7e3
2 changed files with 7 additions and 1 deletions

View file

@ -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)