Removed client side animation checks for animation events

Since it doesn't modify pose parameters or anything, should be safe
This commit is contained in:
Kamay Xutax 2024-08-31 07:25:36 +02:00
parent f58a59661c
commit bbfea9863e

View file

@ -4931,7 +4931,7 @@ void C_BaseAnimating::Simulate()
}
// TODO_ENHANCED: check if there's other stuff like this! This can break lag compensation.
if ( gpGlobals->frametime != 0.0f && (m_bClientSideAnimation || C_BasePlayer::GetLocalPlayer() == this) )
if ( gpGlobals->frametime != 0.0f )
{
DoAnimationEvents( GetModelPtr() );
}