Improve the time window given for aimbot

This commit is contained in:
BenCat07 2021-05-09 16:54:16 +02:00 committed by LightCat
parent 4a704a8e55
commit 3ef56a4e95

View File

@ -358,12 +358,12 @@ void Warp(float accumulated_extra_samples, bool finalTick)
{ {
choke_packet = false; choke_packet = false;
packets_sent = -1; packets_sent = -1;
if (i == calls - 1)
hacks::shared::aimbot::last_target_ignore_timer = tickcount + 5;
} }
else else
hooked_methods::UpdatePred(); hooked_methods::UpdatePred();
if (in_rapidfire)
hacks::shared::aimbot::last_target_ignore_timer = tickcount + 12;
original(accumulated_extra_samples, finalTick); original(accumulated_extra_samples, finalTick);
// Only decrease ticks for the final CL_Move tick // Only decrease ticks for the final CL_Move tick
if (finalTick) if (finalTick)