void Animfix()
{
if (Settings::get().animfix)
return;
Vector Angle;
Vector Origin;
float curtime = g_pGlobalVars->curtime;
float ticks = g_pGlobalVars->tickcount;
if (Globals::bSendPacket)
{
Angle = Globals::LocalPlayer->GetAbsAngles();
Origin = Globals::LocalPlayer->GetAbsOrigin();
}
Globals::LocalPlayer->SetAbsAngles(Angle);
Globals::LocalPlayer->SetAbsOrigin(Origin);
Globals::LocalPlayer->UpdateClientAnimation();
Globals::LocalPlayer->ClientAnimations(false);
g_pGlobalVars->curtime = curtime;
g_pGlobalVars->tickcount = ticks;
}