diff options
| author | navewindre <boneyaard@gmail.com> | 2018-09-19 21:51:56 +0200 |
|---|---|---|
| committer | navewindre <boneyaard@gmail.com> | 2018-09-19 21:51:56 +0200 |
| commit | b1cd9458f103d99f4de1807f512ed9ffd2e38220 (patch) | |
| tree | 8bf1d12c82bb1786f992b1bee8b45a3ae343c659 /internal_rewrite/ragebot_lagcomp.cpp | |
| parent | 62f253525bcc13fedba4df1b6d6be7eef2410d4e (diff) | |
dsad
Diffstat (limited to 'internal_rewrite/ragebot_lagcomp.cpp')
| -rw-r--r-- | internal_rewrite/ragebot_lagcomp.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal_rewrite/ragebot_lagcomp.cpp b/internal_rewrite/ragebot_lagcomp.cpp index e961b15..5c18735 100644 --- a/internal_rewrite/ragebot_lagcomp.cpp +++ b/internal_rewrite/ragebot_lagcomp.cpp @@ -198,7 +198,7 @@ namespace features continue;
if( ent && ent->is_valid( ) && !ent->m_bGunGameImmunity( ) &&
- !!std::abs( last_simtime[ i ] - ent->m_flSimulationTime( ) ) ) {
+ !!std::abs( last_simtime[ i ] - ent->m_flSimulationTime( ) ) && ent->has_valid_anim( ) ) {
render_record_t new_record;
new_record.m_simtime = ent->m_flSimulationTime( ) + util::get_lerptime( );
new_record.m_origin = ent->m_vecOrigin( );
|
