add(aimbot): check if bonked
This commit is contained in:
parent
04cd21fae8
commit
61c984fdba
@ -623,6 +623,9 @@ bool ShouldAim()
|
|||||||
// Deadringer out?
|
// Deadringer out?
|
||||||
if (CE_BYTE(g_pLocalPlayer->entity, netvar.m_bFeignDeathReady))
|
if (CE_BYTE(g_pLocalPlayer->entity, netvar.m_bFeignDeathReady))
|
||||||
return false;
|
return false;
|
||||||
|
// Is bonked?
|
||||||
|
if (HasCondition<TFCond_Bonked>(g_pLocalPlayer->entity))
|
||||||
|
return false;
|
||||||
// Is taunting?
|
// Is taunting?
|
||||||
if (HasCondition<TFCond_Taunting>(g_pLocalPlayer->entity))
|
if (HasCondition<TFCond_Taunting>(g_pLocalPlayer->entity))
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user