diff options
| author | navewindre <boneyaard@gmail.com> | 2018-09-06 00:04:43 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-09-06 00:04:43 +0200 |
| commit | b8f43120600120bdfc22abfc1f94d3f77cb25640 (patch) | |
| tree | 3fc7bfc7ac991534fc6b5138145bb9b6a829c1a9 | |
| parent | 80d9845607058a85c5250aebca1280324b811285 (diff) | |
d
d
| -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( ) ) {
|
