diff options
| -rw-r--r-- | internal_rewrite/c_base_player.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal_rewrite/c_base_player.cpp b/internal_rewrite/c_base_player.cpp index 0e03518..c1b8162 100644 --- a/internal_rewrite/c_base_player.cpp +++ b/internal_rewrite/c_base_player.cpp @@ -751,7 +751,7 @@ void c_base_player::calc_anim_velocity( bool reset ) { }
//assume fakewalk
- if( est_tick_vel.length2d( ) < 5.f )
+ if( velocity.length2d( ) >= last_velocity.length2d( ) && est_tick_vel.length2d( ) < 5.f )
anim_vel = vec3_t( );
else if( anim_vel.length2d( ) >= 0.1f && velocity.length2d( ) > last_velocity.length2d( ) ) {
|
