Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if ( !can_backtrack ) // KENJIRO B1G TOE RESOLVER
- {
- simTime_since_lby_update = *(m_flSimulationTime + pEntity_) - *&playerRecord->m_flLowerBodySimTime;
- if ( *(flags + pEntity_) & 1 && simTime_since_lby_update > float_1_5 )
- {
- *(eyeAnglesOffset + pEntity_ + 4) = playerRecord->m_flLowerBodyYaw;
- }
- else
- {
- if ( simTime_since_lby_update <= float_0_5_ )// lby update shits, toe matter more
- {
- RandomFloat(0xC20C0000, 0x420C0000); // -35.0 - 35.0
- playerRecord_ = playerRecord;
- resolved_yaw = result + playerRecord->m_flLowerBodyYaw;
- }
- else // resolve toe
- {
- RandomFloat(0xC2B40000, 0x42B40000); // -90.0 - 90.0
- resolved_yaw = result + some_angle;
- playerRecord_ = playerRecord;
- }
- *(eyeAnglesOffset + pEntity_ + 4) = resolved_yaw;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement