I found a bug where the player would T-Pose in mid-air while moving and changing weapons..
`void CHL2MP_Player::ResetAnimation( void )
{
if ( IsAlive() )
{
SetSequence ( -1 );
SetActivity( ACT_INVALID );
This code is going to get called everytime we change our weapon..
But it's not handling animation in mid-air while moving.
A simple fix would be something like:
`void CHL2MP_Player::ResetAnimation( void )
{
if ( IsAlive() )
{
SetSequence ( -1 );
SetActivity( ACT_INVALID );
I found a bug where the player would T-Pose in mid-air while moving and changing weapons.. `void CHL2MP_Player::ResetAnimation( void ) { if ( IsAlive() ) { SetSequence ( -1 ); SetActivity( ACT_INVALID );
}`
This code is going to get called everytime we change our weapon.. But it's not handling animation in mid-air while moving. A simple fix would be something like: `void CHL2MP_Player::ResetAnimation( void ) { if ( IsAlive() ) { SetSequence ( -1 ); SetActivity( ACT_INVALID );
}`