bool c_lag_record::valid( )
{
float correct = 0.f;
/* in + out */
correct += g_ctx.m_latency;
correct += g_ctx.m_lerp;
/* check bounds */
correct = std::clamp( correct, 0.f, g_ctx.sv_maxunlag->get_float( ) );
/* make sure ur client curtime is set correctly */
float delta_time = correct - ( valve::g_global_vars->m_cur_time - m_sim_time );
if ( std::fabs( delta_time ) > 0.2f )
return false;
return true;
}