Update LagExploit.cpp

This commit is contained in:
BenCat07 2018-02-07 12:08:32 +01:00 committed by GitHub
parent 91aa68f1bc
commit 2e22b26443
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,6 @@ CatVar value(CV_INT, "se_value", "900", "Sequence exploit value",
CatCommand do_lagexploit("se_do", "Sequence exploit (for use in scripts)",
[]() { AddExploitTicks(6); });
AimbotCalculatedData_s calculated_data_array[2048]{};
int exticks = 0;
void AddExploitTicks(int ticks)
{
@ -58,19 +57,6 @@ static CatVar infinite_packs(CV_SWITCH, "infinite_packs", "0",
"Infinite Pickups",
"Activate sequence exploit when standing on "
"pickups while having not full HP/Ammo");
bool VischeckPredictedEntity(CachedEntity *entity)
{
// Retrieve predicted data
AimbotCalculatedData_s &cd = calculated_data_array[entity->m_IDX];
if (cd.vcheck_tick == tickcount)
return cd.visible;
// Update info
cd.vcheck_tick = tickcount;
cd.visible = IsEntityVectorVisible(entity, entity->m_vecOrigin);
return cd.visible;
}
void CreateMove()
{
if (CE_BAD(LOCAL_E))