Quick fix: entity id != player id

This commit is contained in:
def 2021-11-03 09:15:36 +01:00
parent fd6b26fb5c
commit 63c4617b9e

View file

@ -90,7 +90,7 @@ void CDragger::Move()
}
if(m_TargetID < 0)
m_TargetID = Id;
m_TargetID = Id != -1 ? TempEnts[Id]->GetPlayer()->GetCID() : 0;
if(m_TargetID >= 0)
{