add(aimbot): check if bonked

This commit is contained in:
RC 2021-10-30 03:40:58 +08:00 committed by LightCat
parent 04cd21fae8
commit 61c984fdba

View File

@ -623,6 +623,9 @@ bool ShouldAim()
// Deadringer out?
if (CE_BYTE(g_pLocalPlayer->entity, netvar.m_bFeignDeathReady))
return false;
// Is bonked?
if (HasCondition<TFCond_Bonked>(g_pLocalPlayer->entity))
return false;
// Is taunting?
if (HasCondition<TFCond_Taunting>(g_pLocalPlayer->entity))
return false;