SHARE
TWEET

Onetap anim fix

a guest Jul 18th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void CResolver::AnimationFix(SDK::CBaseEntity* pEnt)
  2. {
  3.     unsigned int result; // eax
  4.     float v3; // xmm0_4
  5.     int v4; // edi
  6.     int v5; // edx
  7.     void (v8)(void); // eax
  8.     float     interpolationAmount;
  9.             auto old_curtime = I::Globals->curtime;
  10.             auto old_frametime = I::Globals->frametime;
  11.             auto curtime = I::Globals->curtime;
  12.             auto frametime = I::Globals->frametime;
  13.             auto frametimne = (I::Globals->frametime);
  14.             auto absoluteframtime = (I::Globals->absoluteframetime);
  15.             auto interp_amount = (I::Globals->interpolationAmount);
  16.             auto framecount = I::Globals->framecount;
  17.             auto tickcount = I::Globals->tickcount;
  18.             I::Globals->realtime = (I::Globals->realtime);
  19.             curtime = (I::Globals->curtime);
  20.             frametimne = (I::Globals->frametime);
  21.             absoluteframtime = (I::Globals->absoluteframetime);
  22.             interp_amount = (I::Globals->interpolationAmount);
  23.             framecount = I::Globals->framecount;
  24.             tickcount = I::Globals->tickcount;
  25.             I::Globals->frametime = I::Globals->interval_per_tick;
  26.             I::Globals->absoluteframetime = I::Globals->interval_per_tick;
  27.             I::Globals->interpolationAmount = 0.0f;
  28.  
  29.  
  30.  
  31.  
  32.             I::Globals->realtime = I::Globals->realtime;
  33.             I::Globals->curtime = curtime;
  34.             I::Globals->frametime = frametimne;
  35.             I::Globals->absoluteframetime = absoluteframtime;
  36.             I::Globals->interpolationAmount = I::Globals->interpolationAmount;
  37.             I::Globals->framecount = framecount;
  38.             I::Globals->tickcount = tickcount;
  39.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top