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