Merge branch 'master' of https://github.com/nullifiedcat/cathook
This commit is contained in:
commit
850ee8e22e
@ -177,6 +177,7 @@ void DoWalking() {
|
|||||||
if (CE_BAD(ent)) continue;
|
if (CE_BAD(ent)) continue;
|
||||||
if (ent == LOCAL_E) continue;
|
if (ent == LOCAL_E) continue;
|
||||||
if (!ent->m_bAlivePlayer) continue;
|
if (!ent->m_bAlivePlayer) continue;
|
||||||
|
if (IsBot(ent)) continue;
|
||||||
|
|
||||||
if (ent->m_bEnemy) continue;
|
if (ent->m_bEnemy) continue;
|
||||||
if (g_pLocalPlayer->v_Origin.DistTo(ent->m_vecOrigin) > 3400.0F) continue;
|
if (g_pLocalPlayer->v_Origin.DistTo(ent->m_vecOrigin) > 3400.0F) continue;
|
||||||
@ -406,15 +407,14 @@ void DoWalking() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
//Check if target is crouching
|
//Check if target is crouching
|
||||||
if () {
|
if (CE_INT(found_entity, netvar.iFlags) & FL_DUCKING) {
|
||||||
|
|
||||||
// Check if local player isnt taunting
|
// Check if local player isnt taunting
|
||||||
if (!g_pUserCmd->buttons & IN_DUCK) {
|
if (!g_pUserCmd->buttons & IN_DUCK) {
|
||||||
g_pUserCmd->buttons |= IN_DUCK;
|
g_pUserCmd->buttons |= IN_DUCK;
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user