-
Автор темы
- #1
- if (current_layer_activity == 979)
- {
- if (previous_layer_activity == 979)
- {
- // we can tell now that he is surely breaking lby in some sort
- if ((previous_layer.m_flCycle != current_layer.m_flCycle) || current_layer.m_flWeight == 1.f)
- {
- float
- flAnimTime = current_layer.m_flCycle,
- flSimTime = player->m_flSimulationTime();
- if (flAnimTime < 0.01f && previous_layer.m_flCycle > 0.01f && g_Options.rage_lagcompensation && CMBacktracking::Get().IsTickValid(TIME_TO_TICKS(flSimTime - flAnimTime)))
- {
- CMBacktracking::Get().SetOverwriteTick(player, QAngle(player->m_angEyeAngles().pitch, player->m_flLowerBodyYawTarget(), 0), (flSimTime - flAnimTime), PRIORITY_LBY_FLICK);
- }
- new_yaw = player->m_flLowerBodyYawTarget() - 180.f;
- }
- else if (current_layer.m_flWeight == 0.f && (previous_layer.m_flCycle > 0.92f && current_layer.m_flCycle > 0.92f))
- }
- }