daily pastebin goal
67%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if ( !can_backtrack )                         // KENJIRO B1G TOE RESOLVER
  2.   {
  3.     simTime_since_lby_update = *(m_flSimulationTime + pEntity_) - *&playerRecord->m_flLowerBodySimTime;
  4.     if ( *(flags + pEntity_) & 1 && simTime_since_lby_update > float_1_5 )
  5.     {
  6.       *(eyeAnglesOffset + pEntity_ + 4) = playerRecord->m_flLowerBodyYaw;
  7.     }
  8.     else
  9.     {
  10.       if ( simTime_since_lby_update <= float_0_5_ )// lby update shits, toe matter more
  11.       {
  12.         RandomFloat(0xC20C0000, 0x420C0000);    // -35.0 - 35.0
  13.         playerRecord_ = playerRecord;
  14.         resolved_yaw = result + playerRecord->m_flLowerBodyYaw;
  15.       }
  16.       else                                      // resolve toe
  17.       {
  18.         RandomFloat(0xC2B40000, 0x42B40000);    // -90.0 - 90.0
  19.         resolved_yaw = result + some_angle;
  20.         playerRecord_ = playerRecord;
  21.       }
  22.       *(eyeAnglesOffset + pEntity_ + 4) = resolved_yaw;
  23.     }
  24.   }
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