Fix solo zone + laser dragg in spec (fixes #59)

This commit is contained in:
def 2014-10-26 02:14:12 +01:00
parent 71eb763e53
commit 0ac9002a80

View file

@ -343,7 +343,7 @@ void CDragger::Snap(int SnappingClient)
continue;
}
if (Char && Char->IsAlive() && Target && Target->IsAlive() && Target->GetPlayer()->GetCID() != SnappingClient && !Char->GetPlayer()->m_ShowOthers &&
if (Char && Char->IsAlive() && Target && Target->IsAlive() && Target->GetPlayer()->GetCID() != Char->GetPlayer()->GetCID() && !Char->GetPlayer()->m_ShowOthers &&
(Char->Teams()->m_Core.GetSolo(SnappingClient) || Char->Teams()->m_Core.GetSolo(Target->GetPlayer()->GetCID())))
{
continue;