commit
8175b52316
@ -459,7 +459,7 @@ bool IsTargetStateGood(CachedEntity *entity)
|
|||||||
PROF_SECTION(PT_aimbot_targetstatecheck);
|
PROF_SECTION(PT_aimbot_targetstatecheck);
|
||||||
|
|
||||||
// Checks for Players
|
// Checks for Players
|
||||||
if (entity->m_Type == ENTITY_PLAYER)
|
if (entity->m_Type() == ENTITY_PLAYER)
|
||||||
{
|
{
|
||||||
// Local player check
|
// Local player check
|
||||||
if (entity == LOCAL_E)
|
if (entity == LOCAL_E)
|
||||||
@ -583,7 +583,7 @@ bool IsTargetStateGood(CachedEntity *entity)
|
|||||||
|
|
||||||
// Check for buildings
|
// Check for buildings
|
||||||
}
|
}
|
||||||
else if (entity->m_Type == ENTITY_BUILDING)
|
else if (entity->m_Type() == ENTITY_BUILDING)
|
||||||
{
|
{
|
||||||
// Enabled check
|
// Enabled check
|
||||||
if (!(buildings_other || buildings_sentry))
|
if (!(buildings_other || buildings_sentry))
|
||||||
@ -848,7 +848,7 @@ const Vector &PredictEntity(CachedEntity *entity)
|
|||||||
return result;
|
return result;
|
||||||
|
|
||||||
// Players
|
// Players
|
||||||
if ((entity->m_Type == ENTITY_PLAYER))
|
if ((entity->m_Type() == ENTITY_PLAYER))
|
||||||
{
|
{
|
||||||
// If using projectiles, predict a vector
|
// If using projectiles, predict a vector
|
||||||
if (projectile_mode &&
|
if (projectile_mode &&
|
||||||
@ -875,7 +875,7 @@ const Vector &PredictEntity(CachedEntity *entity)
|
|||||||
}
|
}
|
||||||
// Buildings
|
// Buildings
|
||||||
}
|
}
|
||||||
else if (entity->m_Type == ENTITY_BUILDING)
|
else if (entity->m_Type() == ENTITY_BUILDING)
|
||||||
{
|
{
|
||||||
result = GetBuildingPosition(entity);
|
result = GetBuildingPosition(entity);
|
||||||
// Other
|
// Other
|
||||||
|
Reference in New Issue
Block a user